pub struct Ref<'a, T> { /* private fields */ }
Expand description
A reference to a T
.
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Ref<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for Ref<'a, T> where
T: Send + Sync,
impl<'a, T> Sync for Ref<'a, T> where
T: Sync,
impl<'a, T> Unpin for Ref<'a, T> where
T: Unpin,
impl<'a, T> UnwindSafe for Ref<'a, T> where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more