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