pub enum LuminosityClass {
Ia,
Ib,
II,
III,
IV,
V,
VI,
Unknown,
Custom(String),
}Variants§
Trait Implementations§
Source§impl Clone for LuminosityClass
impl Clone for LuminosityClass
Source§fn clone(&self) -> LuminosityClass
fn clone(&self) -> LuminosityClass
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 LuminosityClass
impl Debug for LuminosityClass
Source§impl Display for LuminosityClass
impl Display for LuminosityClass
Source§impl FromStr for LuminosityClass
impl FromStr for LuminosityClass
Source§impl Hash for LuminosityClass
impl Hash for LuminosityClass
Source§impl Ord for LuminosityClass
impl Ord for LuminosityClass
Source§fn cmp(&self, other: &LuminosityClass) -> Ordering
fn cmp(&self, other: &LuminosityClass) -> 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 LuminosityClass
impl PartialEq for LuminosityClass
Source§fn eq(&self, other: &LuminosityClass) -> bool
fn eq(&self, other: &LuminosityClass) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LuminosityClass
impl PartialOrd for LuminosityClass
impl Eq for LuminosityClass
impl StructuralPartialEq for LuminosityClass
Auto Trait Implementations§
impl Freeze for LuminosityClass
impl RefUnwindSafe for LuminosityClass
impl Send for LuminosityClass
impl Sync for LuminosityClass
impl Unpin for LuminosityClass
impl UnsafeUnpin for LuminosityClass
impl UnwindSafe for LuminosityClass
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