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