pub struct Percent(f64);
Expand description
Most of the time, [0, 1]. But some callers may go outside this range.
Tuple Fields
0: f64
Implementations
Trait Implementations
impl Copy for Percent
impl StructuralPartialEq for Percent
Auto Trait Implementations
impl RefUnwindSafe for Percent
impl Send for Percent
impl Sync for Percent
impl Unpin for Percent
impl UnwindSafe for Percent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more