#[repr(u8)]pub enum enchantment_value_effect_type {
add = 0,
all_of = 1,
multiply = 2,
remove_binomial = 3,
set = 4,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for enchantment_value_effect_type
impl Clone for enchantment_value_effect_type
Source§fn clone(&self) -> enchantment_value_effect_type
fn clone(&self) -> enchantment_value_effect_type
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 Hash for enchantment_value_effect_type
impl Hash for enchantment_value_effect_type
Source§impl PartialEq for enchantment_value_effect_type
impl PartialEq for enchantment_value_effect_type
Source§fn eq(&self, other: &enchantment_value_effect_type) -> bool
fn eq(&self, other: &enchantment_value_effect_type) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for enchantment_value_effect_type
impl Eq for enchantment_value_effect_type
impl StructuralPartialEq for enchantment_value_effect_type
Auto Trait Implementations§
impl Freeze for enchantment_value_effect_type
impl RefUnwindSafe for enchantment_value_effect_type
impl Send for enchantment_value_effect_type
impl Sync for enchantment_value_effect_type
impl Unpin for enchantment_value_effect_type
impl UnwindSafe for enchantment_value_effect_type
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