pub struct Dimension(pub [i32; 7]);Expand description
Integer exponents of the seven SI base quantities — length, mass, time, electric current, thermodynamic temperature, amount of substance, luminous intensity, in that order.
Tuple Fields§
§0: [i32; 7]Implementations§
Trait Implementations§
impl Copy for Dimension
Source§impl Display for Dimension
Written as a product of SI base units in UCUM syntax, e.g. kg.m2.s-2
(or 1 for a pure number).
impl Display for Dimension
Written as a product of SI base units in UCUM syntax, e.g. kg.m2.s-2
(or 1 for a pure number).
impl Eq for Dimension
impl StructuralPartialEq for Dimension
Auto Trait Implementations§
impl Freeze for Dimension
impl RefUnwindSafe for Dimension
impl Send for Dimension
impl Sync for Dimension
impl Unpin for Dimension
impl UnsafeUnpin for Dimension
impl UnwindSafe for Dimension
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