pub struct Kilometer;Trait Implementations§
Source§impl Unit for Kilometer
impl Unit for Kilometer
type Dimension = Dimension<1, 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 Kilometer
impl RefUnwindSafe for Kilometer
impl Send for Kilometer
impl Sync for Kilometer
impl Unpin for Kilometer
impl UnwindSafe for Kilometer
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