pub struct Element {
pub atomic_num: u8,
pub symbol: &'static str,
pub period: u8,
pub rcov: f32,
pub rvdw: f32,
pub mass: f32,
pub outer_electrons: u8,
pub common_isotope: u16,
pub common_isotope_mass: f64,
pub valences: &'static [i8],
}Expand description
单个元素的静态数据。
Fields§
§atomic_num: u8原子序数。0 为 SMILES 通配原子 *。
symbol: &'static str元素符号(首字母大写形式)
period: u8周期
rcov: f32共价半径 (Å)
rvdw: f32范德华半径 (Å)
mass: f32标准原子量
outer_electrons: u8外层电子数
common_isotope: u16最常见同位素的质量数
common_isotope_mass: f64最常见同位素的精确质量
valences: &'static [i8]默认价列表。-1 表示无价约束(该元素不参与隐式氢推断)。
Implementations§
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