Enum chemfiles::BondOrder[][src]

#[repr(C)]
#[non_exhaustive]
pub enum BondOrder {
    Unknown,
    Single,
    Double,
    Triple,
    Quadruple,
    Quintuplet,
    Amide,
    Aromatic,
}

Possible bond order associated with bonds

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown

Unknown or unspecified bond order

Single

Single bond

Double

Double bond

Triple

Triple bond

Quadruple

Quadruple bond (present in some metals)

Quintuplet

Quintuplet bond (present in some metals)

Amide

Amide bond (required by some file formats)

Aromatic

Aromatic bond (required by some file formats)

Trait Implementations

impl Clone for BondOrder[src]

impl Debug for BondOrder[src]

impl From<chfl_bond_order> for BondOrder[src]

impl Ord for BondOrder[src]

impl PartialEq<BondOrder> for BondOrder[src]

impl PartialOrd<BondOrder> for BondOrder[src]

impl Copy for BondOrder[src]

impl Eq for BondOrder[src]

impl StructuralEq for BondOrder[src]

impl StructuralPartialEq for BondOrder[src]

Auto Trait Implementations

impl RefUnwindSafe for BondOrder

impl Send for BondOrder

impl Sync for BondOrder

impl Unpin for BondOrder

impl UnwindSafe for BondOrder

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.