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