Struct rayon_core::latch::LatchRef
source · 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§
source§impl<L: Latch> Latch for LatchRef<'_, L>
impl<L: Latch> Latch for LatchRef<'_, L>
source§unsafe fn set(this: *const Self)
unsafe fn set(this: *const Self)
Set the latch, signalling others. Read more
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