Enum esl::ApparatusType
source · #[repr(u32)]pub enum ApparatusType {
MortarPestle = 0,
Alembic = 1,
Calcinator = 2,
Retort = 3,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ApparatusType
impl Clone for ApparatusType
source§fn clone(&self) -> ApparatusType
fn clone(&self) -> ApparatusType
Returns a copy 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 ApparatusType
impl Debug for ApparatusType
source§impl<'de> Deserialize<'de> for ApparatusType
impl<'de> Deserialize<'de> for ApparatusType
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ApparatusType
impl Hash for ApparatusType
source§impl Ord for ApparatusType
impl Ord for ApparatusType
source§fn cmp(&self, other: &ApparatusType) -> Ordering
fn cmp(&self, other: &ApparatusType) -> 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 ApparatusType
impl PartialEq for ApparatusType
source§fn eq(&self, other: &ApparatusType) -> bool
fn eq(&self, other: &ApparatusType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ApparatusType
impl PartialOrd for ApparatusType
source§fn partial_cmp(&self, other: &ApparatusType) -> Option<Ordering>
fn partial_cmp(&self, other: &ApparatusType) -> Option<Ordering>
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 moresource§impl Serialize for ApparatusType
impl Serialize for ApparatusType
source§impl Display for ApparatusType
impl Display for ApparatusType
source§fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
Formats the value using the given formatter. Read more
source§impl FromStr for ApparatusType
impl FromStr for ApparatusType
impl Copy for ApparatusType
impl Eq for ApparatusType
impl StructuralEq for ApparatusType
impl StructuralPartialEq for ApparatusType
Auto Trait Implementations§
impl RefUnwindSafe for ApparatusType
impl Send for ApparatusType
impl Sync for ApparatusType
impl Unpin for ApparatusType
impl UnwindSafe for ApparatusType
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