[][src]Enum basechem::Element

pub enum Element {
    Hydrogen,
    Helium,
    Lithium,
    Beryllium,
    Boron,
    Carbon,
    Nitrogen,
    Oxygen,
    Fluorine,
}

Variants

Hydrogen
Helium
Lithium
Beryllium
Boron
Carbon
Nitrogen
Oxygen
Fluorine

Methods

impl Element[src]

pub fn from_symbol(symbol: &str) -> Option<Self>[src]

Trait Implementations

impl Eq for Element[src]

impl PartialEq<Element> for Element[src]

impl Debug for Element[src]

impl StructuralPartialEq for Element[src]

impl StructuralEq for Element[src]

impl IntoEnumIterator for Element[src]

type Iterator = ElementIter

impl EnumProperty for Element[src]

Auto Trait Implementations

impl Send for Element

impl Sync for Element

impl Unpin for Element

impl UnwindSafe for Element

impl RefUnwindSafe for Element

Blanket Implementations

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

impl<T> From<T> for 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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