pub struct SequenceMatch {
pub exact: Option<Option<CommandId>>,
pub has_continuation: bool,
}Fields§
§exact: Option<Option<CommandId>>Some(Some(cmd)) if an exact binding exists and is bound, Some(None) if explicitly unbound,
and None if no exact binding exists under the provided context.
has_continuation: boolTrue if any longer binding exists that starts with the provided sequence under the same context.
Trait Implementations§
Source§impl Clone for SequenceMatch
impl Clone for SequenceMatch
Source§fn clone(&self) -> SequenceMatch
fn clone(&self) -> SequenceMatch
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 SequenceMatch
impl RefUnwindSafe for SequenceMatch
impl Send for SequenceMatch
impl Sync for SequenceMatch
impl Unpin for SequenceMatch
impl UnsafeUnpin for SequenceMatch
impl UnwindSafe for SequenceMatch
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