Struct IsLadderEvent
pub struct IsLadderEvent {
pub entity: u32,
pub pos: BlockPos,
pub state: BlockState,
pub ladder: bool,
}Expand description
What BlockPart::is_ladder is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§entity: u32§pos: BlockPos§state: BlockState§ladder: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for IsLadderEvent
impl RefUnwindSafe for IsLadderEvent
impl Send for IsLadderEvent
impl Sync for IsLadderEvent
impl Unpin for IsLadderEvent
impl UnsafeUnpin for IsLadderEvent
impl UnwindSafe for IsLadderEvent
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