#[repr(u8)]pub enum mob_effect {
Show 39 variants
speed = 0,
slowness = 1,
haste = 2,
mining_fatigue = 3,
strength = 4,
instant_health = 5,
instant_damage = 6,
jump_boost = 7,
nausea = 8,
regeneration = 9,
resistance = 10,
fire_resistance = 11,
water_breathing = 12,
invisibility = 13,
blindness = 14,
night_vision = 15,
hunger = 16,
weakness = 17,
poison = 18,
wither = 19,
health_boost = 20,
absorption = 21,
saturation = 22,
glowing = 23,
levitation = 24,
luck = 25,
unluck = 26,
slow_falling = 27,
conduit_power = 28,
dolphins_grace = 29,
bad_omen = 30,
hero_of_the_village = 31,
darkness = 32,
trial_omen = 33,
raid_omen = 34,
wind_charged = 35,
weaving = 36,
oozing = 37,
infested = 38,
}Variants§
speed = 0
slowness = 1
haste = 2
mining_fatigue = 3
strength = 4
instant_health = 5
instant_damage = 6
jump_boost = 7
nausea = 8
regeneration = 9
resistance = 10
fire_resistance = 11
water_breathing = 12
invisibility = 13
blindness = 14
night_vision = 15
hunger = 16
weakness = 17
poison = 18
wither = 19
health_boost = 20
absorption = 21
saturation = 22
glowing = 23
levitation = 24
luck = 25
unluck = 26
slow_falling = 27
conduit_power = 28
dolphins_grace = 29
bad_omen = 30
hero_of_the_village = 31
darkness = 32
trial_omen = 33
raid_omen = 34
wind_charged = 35
weaving = 36
oozing = 37
infested = 38
Implementations§
Trait Implementations§
Source§impl Clone for mob_effect
impl Clone for mob_effect
Source§fn clone(&self) -> mob_effect
fn clone(&self) -> mob_effect
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 mob_effect
impl Debug for mob_effect
Source§impl Display for mob_effect
impl Display for mob_effect
Source§impl Hash for mob_effect
impl Hash for mob_effect
Source§impl PartialEq for mob_effect
impl PartialEq for mob_effect
Source§impl Write for mob_effect
impl Write for mob_effect
impl Copy for mob_effect
impl Eq for mob_effect
impl StructuralPartialEq for mob_effect
Auto Trait Implementations§
impl Freeze for mob_effect
impl RefUnwindSafe for mob_effect
impl Send for mob_effect
impl Sync for mob_effect
impl Unpin for mob_effect
impl UnwindSafe for mob_effect
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