[][src]Struct periodic_table::Element

pub struct Element {
    pub atomic_number: u32,
    pub symbol: &'static str,
    pub name: &'static str,
    pub atomic_mass: &'static str,
    pub cpk_hex_color: &'static str,
    pub electronic_configuration: &'static str,
    pub electronegativity: Option<f32>,
    pub atomic_radius: Option<u32>,
    pub ion_radius: Option<IonRadius>,
    pub van_del_waals_radius: Option<u32>,
    pub ionization_energy: Option<u32>,
    pub electron_affinity: Option<i32>,
    pub oxidation_states: &'static [i32],
    pub standard_state: Option<State>,
    pub bonding_type: &'static str,
    pub melting_point: Option<u32>,
    pub boiling_point: Option<u32>,
    pub density: Option<f32>,
    pub group_block: &'static str,
    pub year_discovered: Year,
}

Contains the information of a single element

Fields

atomic_number: u32symbol: &'static strname: &'static stratomic_mass: &'static strcpk_hex_color: &'static strelectronic_configuration: &'static strelectronegativity: Option<f32>atomic_radius: Option<u32>ion_radius: Option<IonRadius>van_del_waals_radius: Option<u32>ionization_energy: Option<u32>electron_affinity: Option<i32>oxidation_states: &'static [i32]standard_state: Option<State>bonding_type: &'static strmelting_point: Option<u32>boiling_point: Option<u32>density: Option<f32>group_block: &'static stryear_discovered: Year

Trait Implementations

impl Debug for Element[src]

Auto Trait Implementations

impl Unpin for Element

impl Send for Element

impl Sync for Element

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]