pub struct AtomicFloat { /* private fields */ }
Expand description
An atomic float that can be asynchronously read/written. Best combined with an Arc<...>
.
Implementations§
Trait Implementations§
Source§impl Debug for AtomicFloat
impl Debug for AtomicFloat
Source§impl Default for AtomicFloat
impl Default for AtomicFloat
Source§impl Display for AtomicFloat
impl Display for AtomicFloat
Source§impl From<AtomicFloat> for f32
impl From<AtomicFloat> for f32
Source§fn from(value: AtomicFloat) -> Self
fn from(value: AtomicFloat) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for AtomicFloat
impl RefUnwindSafe for AtomicFloat
impl Send for AtomicFloat
impl Sync for AtomicFloat
impl Unpin for AtomicFloat
impl UnwindSafe for AtomicFloat
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