pub struct VarRef {
pub slot: VarSlotId,
}Expand description
Reference to a variable slot.
Fields§
§slot: VarSlotIdTrait Implementations§
impl Copy for VarRef
impl Eq for VarRef
impl StructuralPartialEq for VarRef
Auto Trait Implementations§
impl Freeze for VarRef
impl RefUnwindSafe for VarRef
impl Send for VarRef
impl Sync for VarRef
impl Unpin for VarRef
impl UnsafeUnpin for VarRef
impl UnwindSafe for VarRef
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