pub struct MobEffect {
pub key: Identifier,
pub category: MobEffectCategory,
pub color: i32,
}Fields§
§key: Identifier§category: MobEffectCategory§color: i32Trait Implementations§
impl Eq for MobEffect
Source§impl RegistryEntry for MobEffect
impl RegistryEntry for MobEffect
impl StructuralPartialEq for MobEffect
Auto Trait Implementations§
impl Freeze for MobEffect
impl RefUnwindSafe for MobEffect
impl Send for MobEffect
impl Sync for MobEffect
impl Unpin for MobEffect
impl UnsafeUnpin for MobEffect
impl UnwindSafe for MobEffect
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.