pub struct VarOrigin {
pub logos_name: Symbol,
pub span: Span,
pub role: OwnershipRole,
}Expand description
Variable origin tracking for error translation.
Fields§
§logos_name: Symbol§span: Span§role: OwnershipRoleTrait Implementations§
Auto Trait Implementations§
impl Freeze for VarOrigin
impl RefUnwindSafe for VarOrigin
impl Send for VarOrigin
impl Sync for VarOrigin
impl Unpin for VarOrigin
impl UnwindSafe for VarOrigin
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