#[repr(u8)]pub enum CondType {
Show 20 variants
Not = 0,
And = 1,
Or = 2,
Streq = 3,
Strdeq = 4,
Strneq = 5,
Strlt = 6,
Strgtr = 7,
Nt = 8,
Ot = 9,
Ef = 10,
Eq = 11,
Ne = 12,
Lt = 13,
Gt = 14,
Le = 15,
Ge = 16,
Regex = 17,
Mod = 18,
Modi = 19,
}Expand description
Condition types for [[ … ]] expressions
Variants§
Not = 0
And = 1
Or = 2
Streq = 3
Strdeq = 4
Strneq = 5
Strlt = 6
Strgtr = 7
Nt = 8
Ot = 9
Ef = 10
Eq = 11
Ne = 12
Lt = 13
Gt = 14
Le = 15
Ge = 16
Regex = 17
Mod = 18
Modi = 19
Trait Implementations§
impl Copy for CondType
impl Eq for CondType
impl StructuralPartialEq for CondType
Auto Trait Implementations§
impl Freeze for CondType
impl RefUnwindSafe for CondType
impl Send for CondType
impl Sync for CondType
impl Unpin for CondType
impl UnsafeUnpin for CondType
impl UnwindSafe for CondType
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more