Struct EnchantEffectEvent
pub struct EnchantEffectEvent<'a> {
pub enchantment: &'a str,
pub kind: &'a str,
pub data: &'a Tag,
pub level: u32,
pub victim: u32,
}Expand description
What Hooks::enchant_effect is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§enchantment: &'a str§kind: &'a str§data: &'a Tag§level: u32§victim: u32Auto Trait Implementations§
impl<'a> Freeze for EnchantEffectEvent<'a>
impl<'a> RefUnwindSafe for EnchantEffectEvent<'a>
impl<'a> Send for EnchantEffectEvent<'a>
impl<'a> Sync for EnchantEffectEvent<'a>
impl<'a> Unpin for EnchantEffectEvent<'a>
impl<'a> UnsafeUnpin for EnchantEffectEvent<'a>
impl<'a> UnwindSafe for EnchantEffectEvent<'a>
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