Enum broot::verb::PrefixSearchResult
source · pub enum PrefixSearchResult<'v, T> {
NoMatch,
Match(&'v str, T),
Matches(Vec<&'v str>),
}
Variants§
Trait Implementations§
source§impl<'v, T: Clone> Clone for PrefixSearchResult<'v, T>
impl<'v, T: Clone> Clone for PrefixSearchResult<'v, T>
source§fn clone(&self) -> PrefixSearchResult<'v, T>
fn clone(&self) -> PrefixSearchResult<'v, T>
Returns a copy 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<'v, T: Debug> Debug for PrefixSearchResult<'v, T>
impl<'v, T: Debug> Debug for PrefixSearchResult<'v, T>
source§impl<'v, T: PartialEq> PartialEq for PrefixSearchResult<'v, T>
impl<'v, T: PartialEq> PartialEq for PrefixSearchResult<'v, T>
source§fn eq(&self, other: &PrefixSearchResult<'v, T>) -> bool
fn eq(&self, other: &PrefixSearchResult<'v, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'v, T> StructuralPartialEq for PrefixSearchResult<'v, T>
Auto Trait Implementations§
impl<'v, T> RefUnwindSafe for PrefixSearchResult<'v, T>where
T: RefUnwindSafe,
impl<'v, T> Send for PrefixSearchResult<'v, T>where
T: Send,
impl<'v, T> Sync for PrefixSearchResult<'v, T>where
T: Sync,
impl<'v, T> Unpin for PrefixSearchResult<'v, T>where
T: Unpin,
impl<'v, T> UnwindSafe for PrefixSearchResult<'v, T>where
T: UnwindSafe,
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