#[repr(u8)]pub enum enchantment_entity_effect_type {
Show 13 variants
all_of = 0,
apply_mob_effect = 1,
change_item_damage = 2,
damage_entity = 3,
explode = 4,
ignite = 5,
play_sound = 6,
replace_block = 7,
replace_disk = 8,
run_function = 9,
set_block_properties = 10,
spawn_particles = 11,
summon_entity = 12,
}Variants§
all_of = 0
apply_mob_effect = 1
change_item_damage = 2
damage_entity = 3
explode = 4
ignite = 5
play_sound = 6
replace_block = 7
replace_disk = 8
run_function = 9
set_block_properties = 10
spawn_particles = 11
summon_entity = 12
Implementations§
Trait Implementations§
Source§impl Clone for enchantment_entity_effect_type
impl Clone for enchantment_entity_effect_type
Source§fn clone(&self) -> enchantment_entity_effect_type
fn clone(&self) -> enchantment_entity_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 PartialEq for enchantment_entity_effect_type
impl PartialEq for enchantment_entity_effect_type
Source§fn eq(&self, other: &enchantment_entity_effect_type) -> bool
fn eq(&self, other: &enchantment_entity_effect_type) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for enchantment_entity_effect_type
impl Eq for enchantment_entity_effect_type
impl StructuralPartialEq for enchantment_entity_effect_type
Auto Trait Implementations§
impl Freeze for enchantment_entity_effect_type
impl RefUnwindSafe for enchantment_entity_effect_type
impl Send for enchantment_entity_effect_type
impl Sync for enchantment_entity_effect_type
impl Unpin for enchantment_entity_effect_type
impl UnwindSafe for enchantment_entity_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