pub struct ViewRef<V: 'static> { /* private fields */ }
Expand description
Mutable reference to a view.
This behaves like a MutexGuard
, but without being tied to a lifetime.
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for ViewRef<V>
impl<V> !RefUnwindSafe for ViewRef<V>
impl<V> !Send for ViewRef<V>
impl<V> Sync for ViewRef<V>where
V: Sync,
impl<V> Unpin for ViewRef<V>
impl<V> !UnwindSafe for ViewRef<V>
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