pub(crate) struct LatchRef<'a, L> {
inner: *const L,
marker: PhantomData<&'a L>,
}
Expand description
&L
without any implication of dereferenceable
for Latch::set
Fields§
§inner: *const L
§marker: PhantomData<&'a L>
Implementations§
Trait Implementations§
impl<L: Sync> Sync for LatchRef<'_, L>
Auto Trait Implementations§
impl<'a, L> Freeze for LatchRef<'a, L>
impl<'a, L> RefUnwindSafe for LatchRef<'a, L>where
L: RefUnwindSafe,
impl<'a, L> !Send for LatchRef<'a, L>
impl<'a, L> Unpin for LatchRef<'a, L>
impl<'a, L> UnwindSafe for LatchRef<'a, L>where
L: RefUnwindSafe,
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
Source§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes