Struct mca_parser::ChunkPosition
source · pub struct ChunkPosition {
pub x: i32,
pub z: i32,
}
Fields§
§x: i32
§z: i32
Implementations§
Trait Implementations§
source§impl Clone for ChunkPosition
impl Clone for ChunkPosition
source§fn clone(&self) -> ChunkPosition
fn clone(&self) -> ChunkPosition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChunkPosition
impl Debug for ChunkPosition
source§impl Default for ChunkPosition
impl Default for ChunkPosition
source§fn default() -> ChunkPosition
fn default() -> ChunkPosition
Returns the “default value” for a type. Read more
source§impl From<BlockPosition> for ChunkPosition
impl From<BlockPosition> for ChunkPosition
source§fn from(value: BlockPosition) -> Self
fn from(value: BlockPosition) -> Self
Converts to this type from the input type.
source§impl From<ChunkPosition> for RegionPosition
impl From<ChunkPosition> for RegionPosition
source§fn from(value: ChunkPosition) -> Self
fn from(value: ChunkPosition) -> Self
Converts to this type from the input type.
source§impl Hash for ChunkPosition
impl Hash for ChunkPosition
source§impl Ord for ChunkPosition
impl Ord for ChunkPosition
source§fn cmp(&self, other: &ChunkPosition) -> Ordering
fn cmp(&self, other: &ChunkPosition) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ChunkPosition> for ChunkPosition
impl PartialEq<ChunkPosition> for ChunkPosition
source§fn eq(&self, other: &ChunkPosition) -> bool
fn eq(&self, other: &ChunkPosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ChunkPosition> for ChunkPosition
impl PartialOrd<ChunkPosition> for ChunkPosition
source§fn partial_cmp(&self, other: &ChunkPosition) -> Option<Ordering>
fn partial_cmp(&self, other: &ChunkPosition) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ChunkPosition
impl Eq for ChunkPosition
impl StructuralEq for ChunkPosition
impl StructuralPartialEq for ChunkPosition
Auto Trait Implementations§
impl RefUnwindSafe for ChunkPosition
impl Send for ChunkPosition
impl Sync for ChunkPosition
impl Unpin for ChunkPosition
impl UnwindSafe for ChunkPosition
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