pub struct AtomicFloatPair { /* private fields */ }
Expand description
The AtomicFloatPair can store two f32
numbers atomically.
This is useful for storing eg. min and max values of a sampled signal.
Implementations§
Trait Implementations§
Source§impl Debug for AtomicFloatPair
impl Debug for AtomicFloatPair
Source§impl Default for AtomicFloatPair
impl Default for AtomicFloatPair
Source§impl Display for AtomicFloatPair
impl Display for AtomicFloatPair
Source§impl From<AtomicFloatPair> for (f32, f32)
impl From<AtomicFloatPair> for (f32, f32)
Source§fn from(value: AtomicFloatPair) -> Self
fn from(value: AtomicFloatPair) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for AtomicFloatPair
impl RefUnwindSafe for AtomicFloatPair
impl Send for AtomicFloatPair
impl Sync for AtomicFloatPair
impl Unpin for AtomicFloatPair
impl UnwindSafe for AtomicFloatPair
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