[][src]Enum protein::AminoAcid

pub enum AminoAcid {
    Ala,
    Arg,
    Asn,
    Asp,
    Cys,
    Gln,
    Glu,
    Gly,
    His,
    Ile,
    Leu,
    Lys,
    Met,
    Phe,
    Pro,
    Ser,
    Thr,
    Trp,
    Tyr,
    Val,
    Mse,
    Pyl,
    Sec,
    Other(usize),
    Nonstandard(NonstandardAminoAcid),
    Custom(String),
}

Variants

Ala
Arg
Asn
Asp
Cys
Gln
Glu
Gly
His
Ile
Leu
Lys
Met
Phe
Pro
Ser
Thr
Trp
Tyr
Val
Mse
Pyl
Sec
Other(usize)
Custom(String)

Implementations

impl AminoAcid[src]

pub fn parse(inp: &str) -> AminoAcid[src]

Trait Implementations

impl Clone for AminoAcid[src]

impl Debug for AminoAcid[src]

impl<'de> Deserialize<'de> for AminoAcid[src]

impl Eq for AminoAcid[src]

impl FromStr for AminoAcid[src]

type Err = String

The associated error which can be returned from parsing.

impl PartialEq<AminoAcid> for AminoAcid[src]

impl Serialize for AminoAcid[src]

impl StructuralEq for AminoAcid[src]

impl StructuralPartialEq for AminoAcid[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.