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 SymbolTagswhere
*const u8 is !null: Freeze,
PhantomData<SymbolDefinition>: Freeze,
PhantomData<SymbolReference>: Freeze,
impl Move for SymbolTags
impl RefUnwindSafe for SymbolTags
impl Send for SymbolTagswhere
RawVecInner: Send,
impl Sync for SymbolTagswhere
RawVecInner: Sync,
impl Unpin for SymbolTags
impl UnsafeUnpin for SymbolTagswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<SymbolDefinition>: UnsafeUnpin,
PhantomData<SymbolReference>: UnsafeUnpin,
impl UnwindSafe for SymbolTagswhere
RawVecInner: 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