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