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