Struct MinecartPassEvent
pub struct MinecartPassEvent {
pub state: BlockState,
pub pos: BlockPos,
pub entity: EntityRef,
}Expand description
What BlockPart::minecart_pass 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: EntityRefTrait Implementations§
Auto Trait Implementations§
impl Freeze for MinecartPassEvent
impl RefUnwindSafe for MinecartPassEvent
impl Send for MinecartPassEvent
impl Sync for MinecartPassEvent
impl Unpin for MinecartPassEvent
impl UnsafeUnpin for MinecartPassEvent
impl UnwindSafe for MinecartPassEvent
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