Struct base::world::ChunkIndex
[−]
[src]
pub struct ChunkIndex(pub AxialPoint);
A new-type to index chunks. This is different from the PillarIndex
type
which always represents a pillar position. So two different PillarIndex
es
could refer to two pillars in the same chunk, while two different
ChunkIndex
es always refer to two different chunks.
Trait Implementations
impl Hash for ChunkIndex
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Eq for ChunkIndex
[src]
impl PartialEq for ChunkIndex
[src]
fn eq(&self, __arg_0: &ChunkIndex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ChunkIndex) -> bool
This method tests for !=
.
impl Debug for ChunkIndex
[src]
impl Copy for ChunkIndex
[src]
impl Clone for ChunkIndex
[src]
fn clone(&self) -> ChunkIndex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more