Struct IsValidBonemealTargetEvent
pub struct IsValidBonemealTargetEvent {
pub dimension: Dimension,
pub pos: BlockPos,
pub state: BlockState,
}Expand description
What BlockPart::is_valid_bonemeal_target 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: BlockStateTrait Implementations§
Auto Trait Implementations§
impl Freeze for IsValidBonemealTargetEvent
impl RefUnwindSafe for IsValidBonemealTargetEvent
impl Send for IsValidBonemealTargetEvent
impl Sync for IsValidBonemealTargetEvent
impl Unpin for IsValidBonemealTargetEvent
impl UnsafeUnpin for IsValidBonemealTargetEvent
impl UnwindSafe for IsValidBonemealTargetEvent
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