pub struct EffectInfo {
pub id: u8,
pub name: &'static str,
pub display_name: &'static str,
pub good: bool,
}Expand description
A status effect.
Fields§
§id: u8Effect id.
name: &'static strName as listed by minecraft-data ("Speed").
display_name: &'static strEnglish display name.
good: booltrue for beneficial effects.
Trait Implementations§
Source§impl Clone for EffectInfo
impl Clone for EffectInfo
impl Copy for EffectInfo
Source§impl Debug for EffectInfo
impl Debug for EffectInfo
impl Eq for EffectInfo
Source§impl PartialEq for EffectInfo
impl PartialEq for EffectInfo
impl StructuralPartialEq for EffectInfo
Auto Trait Implementations§
impl Forget for EffectInfo
impl Freeze for EffectInfo
impl RefUnwindSafe for EffectInfo
impl Send for EffectInfo
impl Sync for EffectInfo
impl Unpin for EffectInfo
impl UnsafeUnpin for EffectInfo
impl UnwindSafe for EffectInfo
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