pub struct BlockPos {
pub x: i32,
pub y: i32,
pub z: i32,
}
Expand description
This is a standard structure used to exchange block positions. Coordinates are signed 32-bits integers.
Fields§
§x: i32
§y: i32
§z: i32
Implementations§
Trait Implementations§
impl Eq for BlockPos
impl StructuralPartialEq for BlockPos
Auto Trait Implementations§
impl Freeze for BlockPos
impl RefUnwindSafe for BlockPos
impl Send for BlockPos
impl Sync for BlockPos
impl Unpin for BlockPos
impl UnwindSafe for BlockPos
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