Enum broot::command::TriggerType
source · [−]pub enum TriggerType<'v> {
Input(&'v Verb),
Other,
}
Expand description
This rather vague enum might be precised or removed. It serves today to characterize whether a verb execution comes from the input or not (in this case the input is consumed and cleared when the verb is executed).
Variants
Input(&'v Verb)
the verb was typed in the input and user has hit enter.
Other
probably a key shortcut
Trait Implementations
sourceimpl<'v> Clone for TriggerType<'v>
impl<'v> Clone for TriggerType<'v>
sourcefn clone(&self) -> TriggerType<'v>
fn clone(&self) -> TriggerType<'v>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'v> Debug for TriggerType<'v>
impl<'v> Debug for TriggerType<'v>
sourceimpl<'v> PartialEq<TriggerType<'v>> for TriggerType<'v>
impl<'v> PartialEq<TriggerType<'v>> for TriggerType<'v>
sourcefn eq(&self, other: &TriggerType<'v>) -> bool
fn eq(&self, other: &TriggerType<'v>) -> bool
impl<'v> Copy for TriggerType<'v>
impl<'v> StructuralPartialEq for TriggerType<'v>
Auto Trait Implementations
impl<'v> RefUnwindSafe for TriggerType<'v>
impl<'v> Send for TriggerType<'v>
impl<'v> Sync for TriggerType<'v>
impl<'v> Unpin for TriggerType<'v>
impl<'v> UnwindSafe for TriggerType<'v>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more