pub enum ConservationQuantity {
Mass,
Mole,
Energy,
Charge,
Momentum,
AngularMomentum,
}Expand description
The conserved quantity being checked (T34).
Variants§
Mass
Mass (kg).
Mole
Moles (mol).
Energy
Energy (J).
Charge
Electric charge (C).
Momentum
Linear momentum (kg·m/s).
AngularMomentum
Angular momentum (kg·m²/s).
Trait Implementations§
Source§impl Clone for ConservationQuantity
impl Clone for ConservationQuantity
impl Copy for ConservationQuantity
Source§impl Debug for ConservationQuantity
impl Debug for ConservationQuantity
impl Eq for ConservationQuantity
Source§impl Hash for ConservationQuantity
impl Hash for ConservationQuantity
Source§impl PartialEq for ConservationQuantity
impl PartialEq for ConservationQuantity
impl StructuralPartialEq for ConservationQuantity
Auto Trait Implementations§
impl Freeze for ConservationQuantity
impl RefUnwindSafe for ConservationQuantity
impl Send for ConservationQuantity
impl Sync for ConservationQuantity
impl Unpin for ConservationQuantity
impl UnsafeUnpin for ConservationQuantity
impl UnwindSafe for ConservationQuantity
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.