Struct chemistru_elements::raw::RawElement
source · pub struct RawElement {Show 26 fields
pub name: &'static str,
pub appearance: Option<&'static str>,
pub atomic_mass: f64,
pub boil: Option<f64>,
pub category: &'static str,
pub color: Option<&'static str>,
pub density: Option<f64>,
pub melt: Option<f64>,
pub molar_heat: Option<f64>,
pub named_by: Option<&'static str>,
pub number: u8,
pub period: u8,
pub phase: &'static str,
pub source: &'static str,
pub spectral_img: Option<&'static str>,
pub summary: String,
pub symbol: &'static str,
pub xpos: u8,
pub ypos: u8,
pub shells: Vec<u8>,
pub electron_configuration: &'static str,
pub electron_configuration_semantic: &'static str,
pub electron_affinity: Option<f64>,
pub electronegativity_pauling: Option<f64>,
pub ionization_energies: Vec<f64>,
pub cpk_hex: Option<&'static str>,
}Fields§
§name: &'static str§appearance: Option<&'static str>§atomic_mass: f64§boil: Option<f64>§category: &'static str§color: Option<&'static str>§density: Option<f64>§melt: Option<f64>§molar_heat: Option<f64>§named_by: Option<&'static str>§number: u8§period: u8§phase: &'static str§source: &'static str§spectral_img: Option<&'static str>§summary: String§symbol: &'static str§xpos: u8§ypos: u8§shells: Vec<u8>§electron_configuration: &'static str§electron_configuration_semantic: &'static str§electron_affinity: Option<f64>§electronegativity_pauling: Option<f64>§ionization_energies: Vec<f64>§cpk_hex: Option<&'static str>Implementations§
source§impl RawElement
impl RawElement
pub fn into_inner(self) -> InnerElement
Trait Implementations§
source§impl Clone for RawElement
impl Clone for RawElement
source§fn clone(&self) -> RawElement
fn clone(&self) -> RawElement
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 RawElement
impl Debug for RawElement
source§impl Deserialize<'static> for RawElement
impl Deserialize<'static> for RawElement
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RawElement
impl Send for RawElement
impl Sync for RawElement
impl Unpin for RawElement
impl UnwindSafe for RawElement
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