pub enum SequenceTree {
Sequence(Sequence),
And(Box<SequenceTree>, Box<SequenceTree>),
Or(Box<SequenceTree>, Box<SequenceTree>),
}Expand description
A Sequence logical tree for complex conditions.
Variants§
Sequence(Sequence)
A plain Sequence.
And(Box<SequenceTree>, Box<SequenceTree>)
A tree where both Sequences must be found.
Or(Box<SequenceTree>, Box<SequenceTree>)
A tree where at least one Sequence must be found.
Implementations§
Trait Implementations§
Source§impl Clone for SequenceTree
impl Clone for SequenceTree
Source§fn clone(&self) -> SequenceTree
fn clone(&self) -> SequenceTree
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 moreAuto Trait Implementations§
impl Freeze for SequenceTree
impl RefUnwindSafe for SequenceTree
impl Send for SequenceTree
impl Sync for SequenceTree
impl Unpin for SequenceTree
impl UnwindSafe for SequenceTree
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