Struct EntityTeleportEvent
pub struct EntityTeleportEvent<'a> {
pub dimension: &'a str,
pub entity: u32,
pub from: [f64; 3],
pub to: [f64; 3],
}Expand description
What Hooks::entity_teleport 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§from: [f64; 3]§to: [f64; 3]Auto Trait Implementations§
impl<'a> Freeze for EntityTeleportEvent<'a>
impl<'a> RefUnwindSafe for EntityTeleportEvent<'a>
impl<'a> Send for EntityTeleportEvent<'a>
impl<'a> Sync for EntityTeleportEvent<'a>
impl<'a> Unpin for EntityTeleportEvent<'a>
impl<'a> UnsafeUnpin for EntityTeleportEvent<'a>
impl<'a> UnwindSafe for EntityTeleportEvent<'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