pub enum MaterialCategory {
Raw,
Manufactured,
Encoded,
Unknown(String),
}
Expand description
The type of material, either Raw, Manufactured, or Encoded.
Variants§
Trait Implementations§
Source§impl Clone for MaterialCategory
impl Clone for MaterialCategory
Source§fn clone(&self) -> MaterialCategory
fn clone(&self) -> MaterialCategory
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 MaterialCategory
impl Debug for MaterialCategory
Source§impl<'de> Deserialize<'de> for MaterialCategory
impl<'de> Deserialize<'de> for MaterialCategory
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 Display for MaterialCategory
impl Display for MaterialCategory
Source§impl From<&Material> for MaterialCategory
impl From<&Material> for MaterialCategory
Source§impl From<Material> for MaterialCategory
impl From<Material> for MaterialCategory
Source§impl PartialEq for MaterialCategory
impl PartialEq for MaterialCategory
Source§impl Serialize for MaterialCategory
impl Serialize for MaterialCategory
impl StructuralPartialEq for MaterialCategory
Auto Trait Implementations§
impl Freeze for MaterialCategory
impl RefUnwindSafe for MaterialCategory
impl Send for MaterialCategory
impl Sync for MaterialCategory
impl Unpin for MaterialCategory
impl UnwindSafe for MaterialCategory
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