pub struct Gallon;Trait Implementations§
Source§impl Unit for Gallon
impl Unit for Gallon
type Dimension = Dimension<3, 0, 0>
fn parameters() -> UnitParameters
fn to<S: Unit<Dimension = Self::Dimension>, E: TensorElement>(value: E) -> E
fn from<S: Unit<Dimension = Self::Dimension>, E: TensorElement>(value: E) -> E
fn to_base(value: c64) -> c64
fn from_base(value: c64) -> c64
fn symbol() -> &'static str
fn name() -> &'static str
Auto Trait Implementations§
impl Freeze for Gallon
impl RefUnwindSafe for Gallon
impl Send for Gallon
impl Sync for Gallon
impl Unpin for Gallon
impl UnwindSafe for Gallon
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