pub struct Reference {
pub range: TextRange,
pub referent: Referent,
pub ty: Type,
}Expand description
A name in the map and what it refers to.
Fields§
§range: TextRange§referent: Referent§ty: TypeThe type of the value the name gives, where known.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Reference
impl Freeze for Reference
impl RefUnwindSafe for Reference
impl Send for Reference
impl Sync for Reference
impl Unpin for Reference
impl UnsafeUnpin for Reference
impl UnwindSafe for Reference
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