[][src]Struct periodic_elements::ElectronConfiguration

pub struct ElectronConfiguration<'a> {
    pub shorthand: Option<Cow<'a, str>>,
    pub electrons: Cow<'a, [SubshellLabels]>,
}

Fields

shorthand: Option<Cow<'a, str>>electrons: Cow<'a, [SubshellLabels]>

Methods

impl<'a> ElectronConfiguration<'a>[src]

pub fn expand(&mut self, elements: &[Element]) -> Result<&mut Self, ()>[src]

Expand noble gas shorthand

Trait Implementations

impl<'a> Clone for ElectronConfiguration<'a>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Eq for ElectronConfiguration<'a>[src]

impl<'a> PartialEq<ElectronConfiguration<'a>> for ElectronConfiguration<'a>[src]

impl<'a> Display for ElectronConfiguration<'a>[src]

impl<'a> Debug for ElectronConfiguration<'a>[src]

impl<'a> FromStr for ElectronConfiguration<'a>[src]

type Err = ()

The associated error which can be returned from parsing.

impl<'a> Hash for ElectronConfiguration<'a>[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<'a> Send for ElectronConfiguration<'a>

impl<'a> Sync for ElectronConfiguration<'a>

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.