pub struct SymbolTags {
pub definitions: Vec<SymbolDefinition>,
pub references: Vec<SymbolReference>,
}Fields§
§definitions: Vec<SymbolDefinition>§references: Vec<SymbolReference>Implementations§
Source§impl SymbolTags
impl SymbolTags
pub fn enclosing(&self, line: usize) -> impl Iterator<Item = &SymbolDefinition>
pub fn references_on(&self, line: usize) -> &[SymbolReference]
Trait Implementations§
Source§impl Clone for SymbolTags
impl Clone for SymbolTags
Source§impl Debug for SymbolTags
impl Debug for SymbolTags
Source§impl Default for SymbolTags
impl Default for SymbolTags
impl Eq for SymbolTags
Source§impl PartialEq for SymbolTags
impl PartialEq for SymbolTags
impl StructuralPartialEq for SymbolTags
Auto Trait Implementations§
impl Forget for SymbolTags
impl Freeze for SymbolTags
impl Move for SymbolTags
impl RefUnwindSafe for SymbolTags
impl Send for SymbolTags
impl Sync for SymbolTags
impl Unpin for SymbolTags
impl UnsafeUnpin for SymbolTags
impl UnwindSafe for SymbolTags
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