pub struct MiscData { /* private fields */ }Implementations§
Source§impl MiscData
impl MiscData
pub const fn appearance(&self) -> Option<&'static str>
pub const fn category(&self) -> &Category
pub const fn discovered_by(&self) -> Option<&'static str>
pub const fn named_by(&self) -> Option<&'static str>
pub const fn spectral_image_url(&self) -> Option<&'static str>
pub const fn source(&self) -> &'static str
pub fn summary(&self) -> &str
pub const fn cpk_color(&self) -> Option<&'static str>
pub const fn new( appearance: Option<&'static str>, category: Category, discovered_by: Option<&'static str>, named_by: Option<&'static str>, spectral_img: Option<&'static str>, source: &'static str, summary: String, cpk_color: Option<&'static str>, ) -> Self
Trait Implementations§
Source§impl Ord for MiscData
impl Ord for MiscData
Source§impl PartialOrd for MiscData
impl PartialOrd for MiscData
impl Eq for MiscData
impl StructuralPartialEq for MiscData
Auto Trait Implementations§
impl Freeze for MiscData
impl RefUnwindSafe for MiscData
impl Send for MiscData
impl Sync for MiscData
impl Unpin for MiscData
impl UnwindSafe for MiscData
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