pub struct Element {Show 13 fields
pub z: u8,
pub symbol: String,
pub name: String,
pub mass: f64,
pub covalent_radius: f64,
pub vdw_radius: f64,
pub color: [u8; 3],
pub is_metal: bool,
pub valence: Option<u8>,
pub electronegativity: Option<f64>,
pub pyykko_single: Option<f64>,
pub pyykko_double: Option<f64>,
pub pyykko_aromatic: Option<f64>,
}Expand description
Reference data for one element or species.
Fields§
§z: u8Atomic number; 0 for the dummy species X.
symbol: StringElement symbol, for example Fe, D or X.
name: StringFull English name.
mass: f64Standard atomic mass in unified atomic mass units.
covalent_radius: f64Cordero 2008 covalent radius in Angstrom.
vdw_radius: f64van der Waals radius in Angstrom (Bondi where defined).
color: [u8; 3]Default Jmol/CPK colour as 0-255 RGB.
is_metal: boolWhether the element is a metal in the reference table.
valence: Option<u8>Typical valence used by the UFF atom typer, when defined.
electronegativity: Option<f64>Pauling electronegativity, when defined.
pyykko_single: Option<f64>Pyykko single-bond covalent radius in Angstrom.
pyykko_double: Option<f64>Pyykko double-bond covalent radius in Angstrom.
pyykko_aromatic: Option<f64>Pyykko aromatic radius in Angstrom (single radius when no double one).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Element
impl<'de> Deserialize<'de> for Element
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Element
Auto Trait Implementations§
impl Forget for Element
impl Freeze for Element
impl Move 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more