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