Struct RemoveBlockEvent
pub struct RemoveBlockEvent {
pub dimension: Dimension,
pub pos: BlockPos,
pub state: BlockState,
pub moved_by_piston: bool,
}Expand description
What BlockPart::remove_block is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: Dimension§pos: BlockPos§state: BlockState§moved_by_piston: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for RemoveBlockEvent
impl RefUnwindSafe for RemoveBlockEvent
impl Send for RemoveBlockEvent
impl Sync for RemoveBlockEvent
impl Unpin for RemoveBlockEvent
impl UnsafeUnpin for RemoveBlockEvent
impl UnwindSafe for RemoveBlockEvent
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