pub struct AtomicF64x2 { /* private fields */ }Expand description
Seqlock over a pair of f64 values (single-writer, multi-reader).
Writer protocol: seq becomes odd while c0/c1 are being updated, then
even again once the pair is stable. Readers spin until they read a stable
even sequence number, guaranteeing the two components are from one write.
Implementations§
Auto Trait Implementations§
impl !Freeze for AtomicF64x2
impl RefUnwindSafe for AtomicF64x2
impl Send for AtomicF64x2
impl Sync for AtomicF64x2
impl Unpin for AtomicF64x2
impl UnsafeUnpin for AtomicF64x2
impl UnwindSafe for AtomicF64x2
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more