pub enum StarKind {
MainSequence,
RedGiant,
WhiteDwarf,
NeutronStar,
Protostar,
Supergiant,
BrownDwarf,
Variable,
Binary,
Unknown,
Custom(String),
}Variants§
MainSequence
RedGiant
WhiteDwarf
NeutronStar
Protostar
Supergiant
BrownDwarf
Variable
Binary
Unknown
Custom(String)
Trait Implementations§
Source§impl Ord for StarKind
impl Ord for StarKind
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 PartialOrd for StarKind
impl PartialOrd for StarKind
impl Eq for StarKind
impl StructuralPartialEq for StarKind
Auto Trait Implementations§
impl Freeze for StarKind
impl RefUnwindSafe for StarKind
impl Send for StarKind
impl Sync for StarKind
impl Unpin for StarKind
impl UnsafeUnpin for StarKind
impl UnwindSafe for StarKind
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