pub struct Meters(pub f64);
Tuple Fields§
§0: f64
Trait Implementations§
source§impl From<Kilometers> for Meters
impl From<Kilometers> for Meters
source§fn from(other: Kilometers) -> Self
fn from(other: Kilometers) -> Self
Converts to this type from the input type.
source§impl From<Lightyears> for Meters
impl From<Lightyears> for Meters
source§fn from(other: Lightyears) -> Self
fn from(other: Lightyears) -> Self
Converts to this type from the input type.
source§impl Into<Meters> for JumpdriveShip
impl Into<Meters> for JumpdriveShip
source§impl PartialEq<Meters> for Meters
impl PartialEq<Meters> for Meters
source§impl PartialOrd<Meters> for Meters
impl PartialOrd<Meters> for Meters
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Meters
impl StructuralPartialEq for Meters
Auto Trait Implementations§
impl RefUnwindSafe for Meters
impl Send for Meters
impl Sync for Meters
impl Unpin for Meters
impl UnwindSafe for Meters
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