pub struct View<'a, T> { /* private fields */ }
Expand description
A struct which binds a type to a lifetime and prevent mutable access.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for View<'a, T>where T: RefUnwindSafe,
impl<'a, T> Send for View<'a, T>where T: Send,
impl<'a, T> Sync for View<'a, T>where T: Sync,
impl<'a, T> Unpin for View<'a, T>where T: Unpin,
impl<'a, T> UnwindSafe for View<'a, T>where T: UnwindSafe,
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