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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> KnownSize for T
impl<T> KnownSize for T
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more