pub struct DevresGuard<'a, F: CovariantForLt>(/* private fields */);Expand description
Guard returned by DevresLt::try_access.
Dereferences to F::Of<'a>, shortening the lifetime of the stored data to the guard’s borrow
lifetime.
Trait Implementations§
Auto Trait Implementations§
impl<'a, F> !Send for DevresGuard<'a, F>
impl<'a, F> !Sync for DevresGuard<'a, F>
impl<'a, F> Freeze for DevresGuard<'a, F>
impl<'a, F> RefUnwindSafe for DevresGuard<'a, F>
impl<'a, F> Unpin for DevresGuard<'a, F>
impl<'a, F> UnsafeUnpin for DevresGuard<'a, F>
impl<'a, F> UnwindSafe for DevresGuard<'a, F>
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