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