Struct mca_parser::SubChunkPosition
source · pub struct SubChunkPosition {
pub x: i32,
pub y: i32,
pub z: i32,
}
Fields§
§x: i32
§y: i32
§z: i32
Trait Implementations§
source§impl Clone for SubChunkPosition
impl Clone for SubChunkPosition
source§fn clone(&self) -> SubChunkPosition
fn clone(&self) -> SubChunkPosition
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 SubChunkPosition
impl Debug for SubChunkPosition
source§impl Default for SubChunkPosition
impl Default for SubChunkPosition
source§fn default() -> SubChunkPosition
fn default() -> SubChunkPosition
Returns the “default value” for a type. Read more
source§impl From<BlockPosition> for SubChunkPosition
impl From<BlockPosition> for SubChunkPosition
source§fn from(value: BlockPosition) -> Self
fn from(value: BlockPosition) -> Self
Converts to this type from the input type.
source§impl Hash for SubChunkPosition
impl Hash for SubChunkPosition
source§impl Ord for SubChunkPosition
impl Ord for SubChunkPosition
source§fn cmp(&self, other: &SubChunkPosition) -> Ordering
fn cmp(&self, other: &SubChunkPosition) -> 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<SubChunkPosition> for SubChunkPosition
impl PartialEq<SubChunkPosition> for SubChunkPosition
source§fn eq(&self, other: &SubChunkPosition) -> bool
fn eq(&self, other: &SubChunkPosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SubChunkPosition> for SubChunkPosition
impl PartialOrd<SubChunkPosition> for SubChunkPosition
source§fn partial_cmp(&self, other: &SubChunkPosition) -> Option<Ordering>
fn partial_cmp(&self, other: &SubChunkPosition) -> 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 SubChunkPosition
impl Eq for SubChunkPosition
impl StructuralEq for SubChunkPosition
impl StructuralPartialEq for SubChunkPosition
Auto Trait Implementations§
impl RefUnwindSafe for SubChunkPosition
impl Send for SubChunkPosition
impl Sync for SubChunkPosition
impl Unpin for SubChunkPosition
impl UnwindSafe for SubChunkPosition
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