Struct ProjectileLaunchEvent
pub struct ProjectileLaunchEvent<'a> {
pub player: Option<u128>,
pub name: &'a str,
pub entity: u32,
pub kind: &'a str,
}Expand description
What Hooks::projectile_launch is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§player: Option<u128>§name: &'a str§entity: u32§kind: &'a strAuto Trait Implementations§
impl<'a> Freeze for ProjectileLaunchEvent<'a>
impl<'a> RefUnwindSafe for ProjectileLaunchEvent<'a>
impl<'a> Send for ProjectileLaunchEvent<'a>
impl<'a> Sync for ProjectileLaunchEvent<'a>
impl<'a> Unpin for ProjectileLaunchEvent<'a>
impl<'a> UnsafeUnpin for ProjectileLaunchEvent<'a>
impl<'a> UnwindSafe for ProjectileLaunchEvent<'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