pub enum SymbolResolution {
Resolved {
start: u32,
end: u32,
},
Missing,
Ambiguous {
candidate_lines: Vec<(u32, u32)>,
},
}Expand description
How a symbol selector resolved against current source.
Variants§
Resolved
Exactly one definition matches; 1-indexed inclusive lines.
Missing
No definition matches.
Ambiguous
More than one definition matches.
Trait Implementations§
Source§impl Clone for SymbolResolution
impl Clone for SymbolResolution
Source§fn clone(&self) -> SymbolResolution
fn clone(&self) -> SymbolResolution
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 SymbolResolution
impl Debug for SymbolResolution
impl Eq for SymbolResolution
Source§impl PartialEq for SymbolResolution
impl PartialEq for SymbolResolution
impl StructuralPartialEq for SymbolResolution
Auto Trait Implementations§
impl Freeze for SymbolResolution
impl RefUnwindSafe for SymbolResolution
impl Send for SymbolResolution
impl Sync for SymbolResolution
impl Unpin for SymbolResolution
impl UnsafeUnpin for SymbolResolution
impl UnwindSafe for SymbolResolution
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