Struct EntityPortalEvent
pub struct EntityPortalEvent<'a> {
pub dimension: &'a str,
pub entity: u32,
pub pos: [i32; 3],
}Expand description
What Hooks::entity_portal is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: &'a str§entity: u32§pos: [i32; 3]Auto Trait Implementations§
impl<'a> Freeze for EntityPortalEvent<'a>
impl<'a> RefUnwindSafe for EntityPortalEvent<'a>
impl<'a> Send for EntityPortalEvent<'a>
impl<'a> Sync for EntityPortalEvent<'a>
impl<'a> Unpin for EntityPortalEvent<'a>
impl<'a> UnsafeUnpin for EntityPortalEvent<'a>
impl<'a> UnwindSafe for EntityPortalEvent<'a>
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