pub struct Byte;Expand description
Multiple representing a Byte.
Represents a size of value * 1_f64. When parsing this multiple from text it expects B.
Trait Implementations§
Source§impl Multiple for Byte
impl Multiple for Byte
Source§fn from_any(value: f64, multiple: Any) -> SpecificSize<Self>
fn from_any(value: f64, multiple: Any) -> SpecificSize<Self>
Create a new
SpecificSize from a value and multiple, the
provided value must always valid (see SpecificSize::new).Source§impl Ord for Byte
impl Ord for Byte
Source§impl PartialOrd for Byte
impl PartialOrd for Byte
impl Copy for Byte
impl Eq for Byte
impl StructuralPartialEq for Byte
Auto Trait Implementations§
impl Freeze for Byte
impl RefUnwindSafe for Byte
impl Send for Byte
impl Sync for Byte
impl Unpin for Byte
impl UnwindSafe for Byte
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