pub struct Borrow<'ptr, T: ?Sized> { /* private fields */ }Expand description
Trait Implementations§
Auto Trait Implementations§
impl<'ptr, T> Freeze for Borrow<'ptr, T>where
T: ?Sized,
impl<'ptr, T> !RefUnwindSafe for Borrow<'ptr, T>
impl<'ptr, T> !Send for Borrow<'ptr, T>
impl<'ptr, T> !Sync for Borrow<'ptr, T>
impl<'ptr, T> Unpin for Borrow<'ptr, T>where
T: ?Sized,
impl<'ptr, T> !UnwindSafe for Borrow<'ptr, T>
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