pub enum DensityUnit {
kg_dmcb,
kg_mcb,
g_cmcb,
g_mcb,
lb_ftcb,
lb_incb,
}Variants§
Implementations§
Source§impl DensityUnit
impl DensityUnit
pub const fn base_per_x_const(self) -> (f64, i32)
Trait Implementations§
Source§impl Clone for DensityUnit
impl Clone for DensityUnit
Source§fn clone(&self) -> DensityUnit
fn clone(&self) -> DensityUnit
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 DensityUnit
impl Debug for DensityUnit
Source§impl Hash for DensityUnit
impl Hash for DensityUnit
Source§impl PartialEq for DensityUnit
impl PartialEq for DensityUnit
Source§fn eq(&self, other: &DensityUnit) -> bool
fn eq(&self, other: &DensityUnit) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PhysicsUnit for DensityUnit
impl PhysicsUnit for DensityUnit
impl Copy for DensityUnit
impl Eq for DensityUnit
impl StructuralPartialEq for DensityUnit
Auto Trait Implementations§
impl Freeze for DensityUnit
impl RefUnwindSafe for DensityUnit
impl Send for DensityUnit
impl Sync for DensityUnit
impl Unpin for DensityUnit
impl UnsafeUnpin for DensityUnit
impl UnwindSafe for DensityUnit
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