pub struct Element {
pub symbol: &'static str,
pub name: &'static str,
pub atomic_number: u32,
pub atomic_mass: f64,
pub electronegativity: Option<f64>,
pub group: Option<u32>,
pub period: u32,
pub category: &'static str,
pub electron_configuration: &'static str,
pub isotopes: Vec<Isotope>,
}Fields§
§symbol: &'static str§name: &'static str§atomic_number: u32§atomic_mass: f64§electronegativity: Option<f64>§group: Option<u32>§period: u32§category: &'static str§electron_configuration: &'static str§isotopes: Vec<Isotope>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnsafeUnpin for Element
impl UnwindSafe for Element
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