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