Enum jujutsu_lib::index::PrefixResolution
source · pub enum PrefixResolution<T> {
NoMatch,
SingleMatch(T),
AmbiguousMatch,
}
Variants§
Trait Implementations§
source§impl<T: Clone> Clone for PrefixResolution<T>
impl<T: Clone> Clone for PrefixResolution<T>
source§fn clone(&self) -> PrefixResolution<T>
fn clone(&self) -> PrefixResolution<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<T: Debug> Debug for PrefixResolution<T>
impl<T: Debug> Debug for PrefixResolution<T>
source§impl<T: PartialEq> PartialEq<PrefixResolution<T>> for PrefixResolution<T>
impl<T: PartialEq> PartialEq<PrefixResolution<T>> for PrefixResolution<T>
source§fn eq(&self, other: &PrefixResolution<T>) -> bool
fn eq(&self, other: &PrefixResolution<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Eq> Eq for PrefixResolution<T>
impl<T> StructuralEq for PrefixResolution<T>
impl<T> StructuralPartialEq for PrefixResolution<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for PrefixResolution<T>where T: RefUnwindSafe,
impl<T> Send for PrefixResolution<T>where T: Send,
impl<T> Sync for PrefixResolution<T>where T: Sync,
impl<T> Unpin for PrefixResolution<T>where T: Unpin,
impl<T> UnwindSafe for PrefixResolution<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