pub enum RawCondition {
Const(bool),
Atom(CompactString),
Not(Box<RawCondition>),
And(Box<RawCondition>, Box<RawCondition>),
Or(Box<RawCondition>, Box<RawCondition>),
}
Variants§
Const(bool)
Atom(CompactString)
Not(Box<RawCondition>)
And(Box<RawCondition>, Box<RawCondition>)
Or(Box<RawCondition>, Box<RawCondition>)
Trait Implementations§
Source§impl BitAnd for RawCondition
impl BitAnd for RawCondition
Source§impl BitOr for RawCondition
impl BitOr for RawCondition
Source§impl Clone for RawCondition
impl Clone for RawCondition
Source§fn clone(&self) -> RawCondition
fn clone(&self) -> RawCondition
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 Debug for RawCondition
impl Debug for RawCondition
Source§impl Display for RawCondition
impl Display for RawCondition
Source§impl Not for RawCondition
impl Not for RawCondition
Source§impl Ord for RawCondition
impl Ord for RawCondition
Source§fn cmp(&self, other: &RawCondition) -> Ordering
fn cmp(&self, other: &RawCondition) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RawCondition
impl PartialEq for RawCondition
Source§impl PartialOrd for RawCondition
impl PartialOrd for RawCondition
impl Eq for RawCondition
impl StructuralPartialEq for RawCondition
Auto Trait Implementations§
impl Freeze for RawCondition
impl RefUnwindSafe for RawCondition
impl Send for RawCondition
impl Sync for RawCondition
impl Unpin for RawCondition
impl UnwindSafe for RawCondition
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<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string()
Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more