Enum minecraft_data::trim_material
source · #[repr(u16)]pub enum trim_material {
amethyst = 0,
copper = 1,
diamond = 2,
emerald = 3,
gold = 4,
iron = 5,
lapis = 6,
netherite = 7,
quartz = 8,
redstone = 9,
}Variants§
amethyst = 0
copper = 1
diamond = 2
emerald = 3
gold = 4
iron = 5
lapis = 6
netherite = 7
quartz = 8
redstone = 9
Implementations§
Trait Implementations§
source§impl Clone for trim_material
impl Clone for trim_material
source§fn clone(&self) -> trim_material
fn clone(&self) -> trim_material
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 trim_material
impl Debug for trim_material
source§impl Display for trim_material
impl Display for trim_material
source§impl Hash for trim_material
impl Hash for trim_material
source§impl PartialEq for trim_material
impl PartialEq for trim_material
source§fn eq(&self, other: &trim_material) -> bool
fn eq(&self, other: &trim_material) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Write for trim_material
impl Write for trim_material
impl Copy for trim_material
impl Eq for trim_material
impl StructuralEq for trim_material
impl StructuralPartialEq for trim_material
Auto Trait Implementations§
impl RefUnwindSafe for trim_material
impl Send for trim_material
impl Sync for trim_material
impl Unpin for trim_material
impl UnwindSafe for trim_material
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