Struct EntityEnterBlockEvent
pub struct EntityEnterBlockEvent<'a> {
pub entity: u32,
pub kind: &'a str,
pub pos: [i32; 3],
pub block: &'a str,
}Expand description
What Hooks::entity_enter_block 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]§block: &'a strAuto Trait Implementations§
impl<'a> Freeze for EntityEnterBlockEvent<'a>
impl<'a> RefUnwindSafe for EntityEnterBlockEvent<'a>
impl<'a> Send for EntityEnterBlockEvent<'a>
impl<'a> Sync for EntityEnterBlockEvent<'a>
impl<'a> Unpin for EntityEnterBlockEvent<'a>
impl<'a> UnsafeUnpin for EntityEnterBlockEvent<'a>
impl<'a> UnwindSafe for EntityEnterBlockEvent<'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