pub struct ScaledPpm(/* private fields */);Expand description
A signed frequency adjustment in parts per million with 16 fractional bits.
Zero selects the nominal clock frequency and positive values make the clock
run faster. One raw unit is 2^-16 ppm, giving a range of approximately
-32768 to +32768 ppm.
Implementations§
Trait Implementations§
impl Copy for ScaledPpm
impl Eq for ScaledPpm
Source§impl Ord for ScaledPpm
impl Ord for ScaledPpm
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ScaledPpm
impl PartialOrd for ScaledPpm
impl StructuralPartialEq for ScaledPpm
Auto Trait Implementations§
impl Freeze for ScaledPpm
impl RefUnwindSafe for ScaledPpm
impl Send for ScaledPpm
impl Sync for ScaledPpm
impl Unpin for ScaledPpm
impl UnsafeUnpin for ScaledPpm
impl UnwindSafe for ScaledPpm
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