pub struct Binary { /* private fields */ }
Expand description
A binary scale.
Implementations§
Source§impl Binary
impl Binary
pub const UNIT: Binary = _
pub const KIBI: Binary = _
pub const MEBI: Binary = _
pub const GIBI: Binary = _
pub const TEBI: Binary = _
pub const PEBI: Binary = _
pub const EXBI: Binary = _
pub const ZEBI: Binary = _
pub const YOBI: Binary = _
pub const AUTO: Scale<Binary> = Scale::Auto
pub const ALL_PREFIXES: &'static [&'static Binary] = _
Trait Implementations§
Source§impl Prefix for Binary
impl Prefix for Binary
Source§fn multiplier(&self) -> f64
fn multiplier(&self) -> f64
Get the multiplier for this prefix as a floating-point number.
Source§impl PrefixFamily for Binary
impl PrefixFamily for Binary
impl Copy for Binary
impl Eq for Binary
impl StructuralPartialEq for Binary
Auto Trait Implementations§
impl Freeze for Binary
impl RefUnwindSafe for Binary
impl Send for Binary
impl Sync for Binary
impl Unpin for Binary
impl UnwindSafe for Binary
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