pub struct EntityPos {
pub x: f64,
pub y: f64,
pub z: f64,
}
Expand description
This is a standard structure used to exchange block positions. Coordinates are 64-bits floating point numbers.
Fields§
§x: f64
§y: f64
§z: f64
Implementations§
Trait Implementations§
impl StructuralPartialEq for EntityPos
Auto Trait Implementations§
impl Freeze for EntityPos
impl RefUnwindSafe for EntityPos
impl Send for EntityPos
impl Sync for EntityPos
impl Unpin for EntityPos
impl UnwindSafe for EntityPos
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