Struct chemistru_elements::raw::AtomicData
source · pub struct AtomicData {
pub atomic_number: u8,
pub nucleon_number: u16,
pub atomic_mass: f64,
}Fields§
§atomic_number: u8§nucleon_number: u16§atomic_mass: f64Trait Implementations§
source§impl Clone for AtomicData
impl Clone for AtomicData
source§fn clone(&self) -> AtomicData
fn clone(&self) -> AtomicData
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 AtomicData
impl Debug for AtomicData
source§impl PartialEq for AtomicData
impl PartialEq for AtomicData
source§fn eq(&self, other: &AtomicData) -> bool
fn eq(&self, other: &AtomicData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for AtomicData
impl PartialOrd for AtomicData
source§fn partial_cmp(&self, other: &AtomicData) -> Option<Ordering>
fn partial_cmp(&self, other: &AtomicData) -> 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 moreimpl Copy for AtomicData
impl StructuralPartialEq for AtomicData
Auto Trait Implementations§
impl RefUnwindSafe for AtomicData
impl Send for AtomicData
impl Sync for AtomicData
impl Unpin for AtomicData
impl UnwindSafe for AtomicData
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