pub enum SpectralClass {
O,
B,
A,
F,
G,
K,
M,
L,
T,
Y,
Unknown,
Custom(String),
}Variants§
Trait Implementations§
Source§impl Clone for SpectralClass
impl Clone for SpectralClass
Source§fn clone(&self) -> SpectralClass
fn clone(&self) -> SpectralClass
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 SpectralClass
impl Debug for SpectralClass
Source§impl Display for SpectralClass
impl Display for SpectralClass
Source§impl FromStr for SpectralClass
impl FromStr for SpectralClass
Source§impl Hash for SpectralClass
impl Hash for SpectralClass
Source§impl Ord for SpectralClass
impl Ord for SpectralClass
Source§fn cmp(&self, other: &SpectralClass) -> Ordering
fn cmp(&self, other: &SpectralClass) -> 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 SpectralClass
impl PartialEq for SpectralClass
Source§fn eq(&self, other: &SpectralClass) -> bool
fn eq(&self, other: &SpectralClass) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SpectralClass
impl PartialOrd for SpectralClass
impl Eq for SpectralClass
impl StructuralPartialEq for SpectralClass
Auto Trait Implementations§
impl Freeze for SpectralClass
impl RefUnwindSafe for SpectralClass
impl Send for SpectralClass
impl Sync for SpectralClass
impl Unpin for SpectralClass
impl UnsafeUnpin for SpectralClass
impl UnwindSafe for SpectralClass
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