pub struct Symbols {
pub defs: Vec<Def>,
pub refs: Vec<(Span, usize)>,
}Expand description
A source’s definitions, and each use of one (where, which).
Fields§
§defs: Vec<Def>§refs: Vec<(Span, usize)>Implementations§
Trait Implementations§
impl StructuralPartialEq for Symbols
Auto Trait Implementations§
impl Freeze for Symbols
impl RefUnwindSafe for Symbols
impl Send for Symbols
impl Sync for Symbols
impl Unpin for Symbols
impl UnsafeUnpin for Symbols
impl UnwindSafe for Symbols
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