pub struct Var<'a, T: ?Sized>(pub &'a T);
Tuple Fields§
§0: &'a T
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Var<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for Var<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for Var<'a, T>
impl<'a, T> Sync for Var<'a, T>
impl<'a, T> Unpin for Var<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for Var<'a, T>where
T: RefUnwindSafe + ?Sized,
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