pub struct Hertz(pub f64);
Expand description
Newtype wrapper for f64
. Converts into Duration
.
Tuple Fields§
§0: f64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hertz
impl RefUnwindSafe for Hertz
impl Send for Hertz
impl Sync for Hertz
impl Unpin for Hertz
impl UnwindSafe for Hertz
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