pub struct LightYear;Trait Implementations§
Source§impl Unit for LightYear
impl Unit for LightYear
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 LightYear
impl RefUnwindSafe for LightYear
impl Send for LightYear
impl Sync for LightYear
impl Unpin for LightYear
impl UnwindSafe for LightYear
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