Struct FireworkExplodeEvent
pub struct FireworkExplodeEvent {
pub entity: u32,
pub pos: [f64; 3],
pub bursts: usize,
}Expand description
What Hooks::firework_explode is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§entity: u32§pos: [f64; 3]§bursts: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for FireworkExplodeEvent
impl RefUnwindSafe for FireworkExplodeEvent
impl Send for FireworkExplodeEvent
impl Sync for FireworkExplodeEvent
impl Unpin for FireworkExplodeEvent
impl UnsafeUnpin for FireworkExplodeEvent
impl UnwindSafe for FireworkExplodeEvent
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