pub struct StratifyRule<R> {
pub name: String,
pub rule: R,
pub meta: BTreeMap<String, String>,
}Expand description
StratifyRule data container.
Fields§
§name: Stringname field for name.
rule: Rrule field for rule.
meta: BTreeMap<String, String>meta field for meta.
Implementations§
Trait Implementations§
Source§impl<R: Clone> Clone for StratifyRule<R>
impl<R: Clone> Clone for StratifyRule<R>
Source§fn clone(&self) -> StratifyRule<R>
fn clone(&self) -> StratifyRule<R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R: Debug> Debug for StratifyRule<R>
impl<R: Debug> Debug for StratifyRule<R>
Source§impl<R: PartialEq> PartialEq for StratifyRule<R>
impl<R: PartialEq> PartialEq for StratifyRule<R>
impl<R: Eq> Eq for StratifyRule<R>
impl<R> StructuralPartialEq for StratifyRule<R>
Auto Trait Implementations§
impl<R> Freeze for StratifyRule<R>where
R: Freeze,
impl<R> RefUnwindSafe for StratifyRule<R>where
R: RefUnwindSafe,
impl<R> Send for StratifyRule<R>where
R: Send,
impl<R> Sync for StratifyRule<R>where
R: Sync,
impl<R> Unpin for StratifyRule<R>where
R: Unpin,
impl<R> UnsafeUnpin for StratifyRule<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for StratifyRule<R>where
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.