Enum ferritin_core::BondOrder
source · #[repr(u8)]pub enum BondOrder {
Unset = 0,
Single = 1,
Double = 2,
Triple = 3,
Quadruple = 4,
}
Expand description
Variants§
Unset = 0
Used if the actual type is unknown
Single = 1
Single bond
Double = 2
Double bond
Triple = 3
Triple bond
Quadruple = 4
A quadruple bond
Implementations§
Trait Implementations§
impl StructuralPartialEq for BondOrder
Auto Trait Implementations§
impl Freeze for BondOrder
impl RefUnwindSafe for BondOrder
impl Send for BondOrder
impl Sync for BondOrder
impl Unpin for BondOrder
impl UnwindSafe for BondOrder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more