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<PrefixSearchResult<'v, T>> for PrefixSearchResult<'v, T>
impl<'v, T: PartialEq> PartialEq<PrefixSearchResult<'v, T>> 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 ==
.