Struct BlockSignalEvent
pub struct BlockSignalEvent {
pub dimension: Dimension,
pub pos: BlockPos,
pub state: BlockState,
pub face: Direction,
pub direct: bool,
pub signal: i32,
}Expand description
What BlockPart::block_signal 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§face: Direction§direct: bool§signal: i32Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockSignalEvent
impl RefUnwindSafe for BlockSignalEvent
impl Send for BlockSignalEvent
impl Sync for BlockSignalEvent
impl Unpin for BlockSignalEvent
impl UnsafeUnpin for BlockSignalEvent
impl UnwindSafe for BlockSignalEvent
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