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