pub struct Factor(/* private fields */);Expand description
An operation-mode factor: a number in [0, 1].
The wire type is a bare f64, because a message carrying 1.3 has to be
representable so the validator can name it. This is the checked form the arithmetic
uses.
Implementations§
Trait Implementations§
impl Copy for Factor
Source§impl PartialOrd for Factor
impl PartialOrd for Factor
impl StructuralPartialEq for Factor
Auto Trait Implementations§
impl Freeze for Factor
impl RefUnwindSafe for Factor
impl Send for Factor
impl Sync for Factor
impl Unpin for Factor
impl UnsafeUnpin for Factor
impl UnwindSafe for Factor
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