pub enum CelestialBodyKind {
Show 13 variants
Star,
Planet,
DwarfPlanet,
Moon,
Asteroid,
Comet,
Meteoroid,
Nebula,
Galaxy,
BlackHole,
StarCluster,
Unknown,
Custom(String),
}Variants§
Star
Planet
DwarfPlanet
Moon
Asteroid
Comet
Meteoroid
Nebula
Galaxy
BlackHole
StarCluster
Unknown
Custom(String)
Trait Implementations§
Source§impl Clone for CelestialBodyKind
impl Clone for CelestialBodyKind
Source§fn clone(&self) -> CelestialBodyKind
fn clone(&self) -> CelestialBodyKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CelestialBodyKind
impl Debug for CelestialBodyKind
Source§impl Display for CelestialBodyKind
impl Display for CelestialBodyKind
Source§impl FromStr for CelestialBodyKind
impl FromStr for CelestialBodyKind
Source§impl Hash for CelestialBodyKind
impl Hash for CelestialBodyKind
Source§impl Ord for CelestialBodyKind
impl Ord for CelestialBodyKind
Source§fn cmp(&self, other: &CelestialBodyKind) -> Ordering
fn cmp(&self, other: &CelestialBodyKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CelestialBodyKind
impl PartialEq for CelestialBodyKind
Source§fn eq(&self, other: &CelestialBodyKind) -> bool
fn eq(&self, other: &CelestialBodyKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CelestialBodyKind
impl PartialOrd for CelestialBodyKind
impl Eq for CelestialBodyKind
impl StructuralPartialEq for CelestialBodyKind
Auto Trait Implementations§
impl Freeze for CelestialBodyKind
impl RefUnwindSafe for CelestialBodyKind
impl Send for CelestialBodyKind
impl Sync for CelestialBodyKind
impl Unpin for CelestialBodyKind
impl UnsafeUnpin for CelestialBodyKind
impl UnwindSafe for CelestialBodyKind
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