pub enum TitleMatch {
Unique(PathBuf),
Ambiguous(Vec<PathBuf>),
Unknown,
}Expand description
The outcome of resolving a name against a TitleIndex.
Variants§
Unique(PathBuf)
Exactly one document claims the name.
Ambiguous(Vec<PathBuf>)
Several documents claim it — a nominal link cannot disambiguate. The paths are sorted for a stable, diffable report.
Unknown
No document claims it.
Trait Implementations§
Source§impl Clone for TitleMatch
impl Clone for TitleMatch
Source§fn clone(&self) -> TitleMatch
fn clone(&self) -> TitleMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TitleMatch
impl Debug for TitleMatch
impl Eq for TitleMatch
Source§impl PartialEq for TitleMatch
impl PartialEq for TitleMatch
impl StructuralPartialEq for TitleMatch
Auto Trait Implementations§
impl Freeze for TitleMatch
impl RefUnwindSafe for TitleMatch
impl Send for TitleMatch
impl Sync for TitleMatch
impl Unpin for TitleMatch
impl UnsafeUnpin for TitleMatch
impl UnwindSafe for TitleMatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.