pub enum SpectralType {
O,
B,
A,
F,
G,
K,
M,
}Expand description
The main spectral types in the MK system. Covers the standard OBAFGKM sequence.
Variants§
Trait Implementations§
Source§impl Clone for SpectralType
impl Clone for SpectralType
Source§fn clone(&self) -> SpectralType
fn clone(&self) -> SpectralType
Returns a duplicate 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 SpectralType
impl Debug for SpectralType
Source§impl Into<&'static str> for SpectralType
impl Into<&'static str> for SpectralType
Source§impl PartialEq for SpectralType
impl PartialEq for SpectralType
Source§impl TryFrom<&str> for SpectralType
impl TryFrom<&str> for SpectralType
impl Copy for SpectralType
impl Eq for SpectralType
impl StructuralPartialEq for SpectralType
Auto Trait Implementations§
impl Freeze for SpectralType
impl RefUnwindSafe for SpectralType
impl Send for SpectralType
impl Sync for SpectralType
impl Unpin for SpectralType
impl UnwindSafe for SpectralType
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