pub struct Element {
pub number: u8,
pub symbol: &'static str,
pub name: &'static str,
pub atomic_mass: f64,
pub valence: i8,
}Fields§
§number: u8§symbol: &'static str§name: &'static str§atomic_mass: f64§valence: i8Trait 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 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