pub struct GalacticDistance(/* private fields */);
Expand description
A distance in light-years between two objects in the galaxy, usually between two systems.
Implementations§
Trait Implementations§
Source§impl Clone for GalacticDistance
impl Clone for GalacticDistance
Source§fn clone(&self) -> GalacticDistance
fn clone(&self) -> GalacticDistance
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GalacticDistance
impl Debug for GalacticDistance
Source§impl<'de> Deserialize<'de> for GalacticDistance
impl<'de> Deserialize<'de> for GalacticDistance
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GalacticDistance
impl PartialEq for GalacticDistance
Source§impl PartialOrd for GalacticDistance
impl PartialOrd for GalacticDistance
Source§impl Serialize for GalacticDistance
impl Serialize for GalacticDistance
impl StructuralPartialEq for GalacticDistance
Auto Trait Implementations§
impl Freeze for GalacticDistance
impl RefUnwindSafe for GalacticDistance
impl Send for GalacticDistance
impl Sync for GalacticDistance
impl Unpin for GalacticDistance
impl UnwindSafe for GalacticDistance
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