#[repr(C)]
#[non_exhaustive]
pub enum BondOrder {
Unknown,
Single,
Double,
Triple,
Quadruple,
Quintuplet,
Amide,
Aromatic,
}
Expand description
Possible bond order associated with bonds
Variants (Non-exhaustive)§
This enum is marked as 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§
source§impl Ord for BondOrder
impl Ord for BondOrder
source§impl PartialEq<BondOrder> for BondOrder
impl PartialEq<BondOrder> for BondOrder
source§impl PartialOrd<BondOrder> for BondOrder
impl PartialOrd<BondOrder> for BondOrder
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more