pub struct DimensionVector(pub [i8; 7]);Expand description
7-tuple of SI base-dimension exponents (L, M, T, I, Θ, N, J).
See docs/en/units/dimensional-analysis.md §2.1.
Tuple Fields§
§0: [i8; 7]Implementations§
Trait Implementations§
Source§impl Clone for DimensionVector
impl Clone for DimensionVector
Source§fn clone(&self) -> DimensionVector
fn clone(&self) -> DimensionVector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DimensionVector
impl Debug for DimensionVector
Source§impl Hash for DimensionVector
impl Hash for DimensionVector
Source§impl PartialEq for DimensionVector
impl PartialEq for DimensionVector
Source§fn eq(&self, other: &DimensionVector) -> bool
fn eq(&self, other: &DimensionVector) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DimensionVector
impl Eq for DimensionVector
impl StructuralPartialEq for DimensionVector
Auto Trait Implementations§
impl Freeze for DimensionVector
impl RefUnwindSafe for DimensionVector
impl Send for DimensionVector
impl Sync for DimensionVector
impl Unpin for DimensionVector
impl UnsafeUnpin for DimensionVector
impl UnwindSafe for DimensionVector
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.