[][src]Struct essential::Isotope

pub struct Isotope { /* fields omitted */ }

Methods

impl Isotope[src]

pub fn new(ion: Ion, neutrons: Option<u16>) -> Isotope[src]

pub fn from_element(element: Element, neutrons: Option<u16>) -> Isotope[src]

pub fn get_ion(&self) -> &Ion[src]

pub fn get_ion_mut(&mut self) -> &mut Ion[src]

pub fn get_neutrons_count(&self) -> &Option<u16>[src]

pub fn get_neutrons_count_mut(&mut self) -> &mut Option<u16>[src]

pub fn get_element(&self) -> &Element[src]

pub fn get_element_mut(&mut self) -> &mut Element[src]

Trait Implementations

impl AsMut<Ion> for Isotope[src]

impl AsRef<Ion> for Isotope[src]

impl Clone for Isotope[src]

impl Copy for Isotope[src]

impl Debug for Isotope[src]

impl Eq for Isotope[src]

impl From<Element> for Isotope[src]

impl From<Ion> for Isotope[src]

impl Hash for Isotope[src]

impl Ord for Isotope[src]

impl PartialEq<Isotope> for Isotope[src]

impl PartialOrd<Isotope> for Isotope[src]

impl StructuralEq for Isotope[src]

impl StructuralPartialEq for Isotope[src]

Auto Trait Implementations

impl RefUnwindSafe for Isotope

impl Send for Isotope

impl Sync for Isotope

impl Unpin for Isotope

impl UnwindSafe for Isotope

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.