[][src]Struct zenith::Atom

pub struct Atom { /* fields omitted */ }

Methods

impl Atom[src]

pub fn set_electrons(self, amount: u32)[src]

pub fn add_electrons(self, amount: u32)[src]

pub fn sub_electrons(self, amount: u32)[src]

pub fn amount_electrons(self) -> u32[src]

pub fn set_neutrons(self, amount: u32)[src]

pub fn add_neutrons(self, amount: u32)[src]

pub fn sub_neutrons(self, amount: u32)[src]

pub fn amount_neutrons(self) -> u32[src]

pub fn amount_protons(self) -> u32[src]

Auto Trait Implementations

impl Sync for Atom

impl Send for Atom

impl Unpin for Atom

impl RefUnwindSafe for Atom

impl UnwindSafe for Atom

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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