pub struct LightYear;Expand description
Light-year (ly): distance light travels in one Julian year (365.25 d) at c = 299_792_458 m/s.
Trait Implementations§
Source§impl PartialOrd for LightYear
impl PartialOrd for LightYear
impl Copy for LightYear
impl StructuralPartialEq for LightYear
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