Struct CropGrowPreEvent
pub struct CropGrowPreEvent<'a> {
pub dimension: Dimension,
pub pos: BlockPos,
pub state: BlockState,
pub result: &'a mut TriState,
}Expand description
What Hooks::crop_grow_pre 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§result: &'a mut TriStateAuto Trait Implementations§
impl<'a> !UnwindSafe for CropGrowPreEvent<'a>
impl<'a> Freeze for CropGrowPreEvent<'a>
impl<'a> RefUnwindSafe for CropGrowPreEvent<'a>
impl<'a> Send for CropGrowPreEvent<'a>
impl<'a> Sync for CropGrowPreEvent<'a>
impl<'a> Unpin for CropGrowPreEvent<'a>
impl<'a> UnsafeUnpin for CropGrowPreEvent<'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