#[repr(usize)]pub enum BaseDim {
Length = 0,
Mass = 1,
Time = 2,
Current = 3,
Temperature = 4,
Amount = 5,
Luminous = 6,
Angle = 7,
SolidAngle = 8,
Information = 9,
}Expand description
The base dimensions: the SI seven, plus the extensions Logos tracks end-to-end. Plane angle and solid angle are SI-dimensionless but tracked here to catch radian/steradian mix-ups; information (the bit) is tracked so data sizes are first-class. “Dimensionless” is the all-zero vector, not an axis.
Variants§
Length = 0
Mass = 1
Time = 2
Current = 3
Temperature = 4
Amount = 5
Luminous = 6
Angle = 7
SolidAngle = 8
Information = 9
Implementations§
Trait Implementations§
impl Copy for BaseDim
impl Eq for BaseDim
impl StructuralPartialEq for BaseDim
Auto Trait Implementations§
impl Freeze for BaseDim
impl RefUnwindSafe for BaseDim
impl Send for BaseDim
impl Sync for BaseDim
impl Unpin for BaseDim
impl UnsafeUnpin for BaseDim
impl UnwindSafe for BaseDim
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