pub struct CellCoord3 {
pub x: i32,
pub y: i32,
pub z: i32,
}Expand description
Integer 3D cell coordinate.
Fields§
§x: i32X cell coordinate.
y: i32Y cell coordinate.
z: i32Z cell coordinate.
Implementations§
Trait Implementations§
Source§impl Clone for CellCoord3
impl Clone for CellCoord3
Source§fn clone(&self) -> CellCoord3
fn clone(&self) -> CellCoord3
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CellCoord3
Source§impl Debug for CellCoord3
impl Debug for CellCoord3
Source§impl Default for CellCoord3
impl Default for CellCoord3
Source§fn default() -> CellCoord3
fn default() -> CellCoord3
Returns the “default value” for a type. Read more
impl Eq for CellCoord3
Source§impl Hash for CellCoord3
impl Hash for CellCoord3
Source§impl Ord for CellCoord3
impl Ord for CellCoord3
Source§fn cmp(&self, other: &CellCoord3) -> Ordering
fn cmp(&self, other: &CellCoord3) -> Ordering
1.21.0 (const: unstable) · 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 for CellCoord3
impl PartialEq for CellCoord3
Source§impl PartialOrd for CellCoord3
impl PartialOrd for CellCoord3
impl StructuralPartialEq for CellCoord3
Auto Trait Implementations§
impl Freeze for CellCoord3
impl RefUnwindSafe for CellCoord3
impl Send for CellCoord3
impl Sync for CellCoord3
impl Unpin for CellCoord3
impl UnsafeUnpin for CellCoord3
impl UnwindSafe for CellCoord3
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