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