Struct chemistru_elements::element::ElementName
source · pub struct ElementName(pub [char; 13], pub usize);Tuple Fields§
§0: [char; 13]§1: usizeTrait Implementations§
source§impl Clone for ElementName
impl Clone for ElementName
source§fn clone(&self) -> ElementName
fn clone(&self) -> ElementName
Returns a copy 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 ElementName
impl Debug for ElementName
source§impl Ord for ElementName
impl Ord for ElementName
source§fn cmp(&self, other: &ElementName) -> Ordering
fn cmp(&self, other: &ElementName) -> Ordering
1.21.0 · 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 ElementName
impl PartialEq for ElementName
source§fn eq(&self, other: &ElementName) -> bool
fn eq(&self, other: &ElementName) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ElementName
impl PartialOrd for ElementName
source§fn partial_cmp(&self, other: &ElementName) -> Option<Ordering>
fn partial_cmp(&self, other: &ElementName) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl ToString for ElementName
impl ToString for ElementName
impl Copy for ElementName
impl Eq for ElementName
impl StructuralEq for ElementName
impl StructuralPartialEq for ElementName
Auto Trait Implementations§
impl RefUnwindSafe for ElementName
impl Send for ElementName
impl Sync for ElementName
impl Unpin for ElementName
impl UnwindSafe for ElementName
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