pub struct RuleList { /* private fields */ }Expand description
A preset’s rule list, compiled: one to MAX_RULES rules in a fixed array,
so the config stays Copy and nothing per frame allocates.
Implementations§
Trait Implementations§
Source§impl Default for RuleList
impl Default for RuleList
Source§fn default() -> Self
fn default() -> Self
DEFAULT_RULE alone — what an absent rules key means.
impl Copy for RuleList
impl Eq for RuleList
impl StructuralPartialEq for RuleList
Auto Trait Implementations§
impl Freeze for RuleList
impl RefUnwindSafe for RuleList
impl Send for RuleList
impl Sync for RuleList
impl Unpin for RuleList
impl UnsafeUnpin for RuleList
impl UnwindSafe for RuleList
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.