pub enum CatalogObjectKind {
Messier,
Ngc,
Ic,
Hipparcos,
Gaia,
HenryDraper,
Simbad,
ExoplanetCatalog,
Unknown,
Custom(String),
}Variants§
Trait Implementations§
Source§impl Clone for CatalogObjectKind
impl Clone for CatalogObjectKind
Source§fn clone(&self) -> CatalogObjectKind
fn clone(&self) -> CatalogObjectKind
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 CatalogObjectKind
impl Debug for CatalogObjectKind
Source§impl Display for CatalogObjectKind
impl Display for CatalogObjectKind
Source§impl FromStr for CatalogObjectKind
impl FromStr for CatalogObjectKind
Source§impl Hash for CatalogObjectKind
impl Hash for CatalogObjectKind
Source§impl Ord for CatalogObjectKind
impl Ord for CatalogObjectKind
Source§fn cmp(&self, other: &CatalogObjectKind) -> Ordering
fn cmp(&self, other: &CatalogObjectKind) -> 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 CatalogObjectKind
impl PartialEq for CatalogObjectKind
Source§fn eq(&self, other: &CatalogObjectKind) -> bool
fn eq(&self, other: &CatalogObjectKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CatalogObjectKind
impl PartialOrd for CatalogObjectKind
impl Eq for CatalogObjectKind
impl StructuralPartialEq for CatalogObjectKind
Auto Trait Implementations§
impl Freeze for CatalogObjectKind
impl RefUnwindSafe for CatalogObjectKind
impl Send for CatalogObjectKind
impl Sync for CatalogObjectKind
impl Unpin for CatalogObjectKind
impl UnsafeUnpin for CatalogObjectKind
impl UnwindSafe for CatalogObjectKind
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