#[non_exhaustive]pub enum RuleFieldFlags {
BitMask,
BitTest,
LessThan,
GreaterThan,
NotEqual,
Equal,
LessThanOrEqual,
GreaterThanOrEqual,
None,
Unknown(u32),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BitMask
BitTest
LessThan
GreaterThan
NotEqual
Equal
LessThanOrEqual
GreaterThanOrEqual
None
Unknown(u32)
Trait Implementations§
source§impl Clone for RuleFieldFlags
impl Clone for RuleFieldFlags
source§fn clone(&self) -> RuleFieldFlags
fn clone(&self) -> RuleFieldFlags
Returns a copy 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 Debug for RuleFieldFlags
impl Debug for RuleFieldFlags
source§impl From<RuleFieldFlags> for u32
impl From<RuleFieldFlags> for u32
source§fn from(value: RuleFieldFlags) -> Self
fn from(value: RuleFieldFlags) -> Self
Converts to this type from the input type.
source§impl From<u32> for RuleFieldFlags
impl From<u32> for RuleFieldFlags
source§impl PartialEq<RuleFieldFlags> for RuleFieldFlags
impl PartialEq<RuleFieldFlags> for RuleFieldFlags
source§fn eq(&self, other: &RuleFieldFlags) -> bool
fn eq(&self, other: &RuleFieldFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RuleFieldFlags
impl Eq for RuleFieldFlags
impl StructuralEq for RuleFieldFlags
impl StructuralPartialEq for RuleFieldFlags
Auto Trait Implementations§
impl RefUnwindSafe for RuleFieldFlags
impl Send for RuleFieldFlags
impl Sync for RuleFieldFlags
impl Unpin for RuleFieldFlags
impl UnwindSafe for RuleFieldFlags
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