pub enum StorageUnit {
Coherent(Quantity),
Nanosecond,
}Expand description
Physical storage unit, with coherent units identified by their quantity.
Variants§
Coherent(Quantity)
The quantity’s coherent storage unit, including named dimensionless units.
Nanosecond
One billionth of a second.
Implementations§
Trait Implementations§
Source§impl Clone for StorageUnit
impl Clone for StorageUnit
impl Copy for StorageUnit
Source§impl Debug for StorageUnit
impl Debug for StorageUnit
impl Eq for StorageUnit
Source§impl PartialEq for StorageUnit
impl PartialEq for StorageUnit
impl StructuralPartialEq for StorageUnit
Auto Trait Implementations§
impl Freeze for StorageUnit
impl RefUnwindSafe for StorageUnit
impl Send for StorageUnit
impl Sync for StorageUnit
impl Unpin for StorageUnit
impl UnsafeUnpin for StorageUnit
impl UnwindSafe for StorageUnit
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