pub enum ReactionSide {
Reactant,
Product,
}Expand description
A reaction-side label.
Variants§
Implementations§
Source§impl ReactionSide
impl ReactionSide
Sourcepub const fn is_reactant(self) -> bool
pub const fn is_reactant(self) -> bool
Returns true for Self::Reactant.
Sourcepub const fn is_product(self) -> bool
pub const fn is_product(self) -> bool
Returns true for Self::Product.
Trait Implementations§
Source§impl Clone for ReactionSide
impl Clone for ReactionSide
Source§fn clone(&self) -> ReactionSide
fn clone(&self) -> ReactionSide
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReactionSide
impl Debug for ReactionSide
Source§impl Display for ReactionSide
impl Display for ReactionSide
Source§impl Hash for ReactionSide
impl Hash for ReactionSide
Source§impl Ord for ReactionSide
impl Ord for ReactionSide
Source§fn cmp(&self, other: &ReactionSide) -> Ordering
fn cmp(&self, other: &ReactionSide) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReactionSide
impl PartialEq for ReactionSide
Source§impl PartialOrd for ReactionSide
impl PartialOrd for ReactionSide
impl Copy for ReactionSide
impl Eq for ReactionSide
impl StructuralPartialEq for ReactionSide
Auto Trait Implementations§
impl Freeze for ReactionSide
impl RefUnwindSafe for ReactionSide
impl Send for ReactionSide
impl Sync for ReactionSide
impl Unpin for ReactionSide
impl UnsafeUnpin for ReactionSide
impl UnwindSafe for ReactionSide
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