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