pub enum SubchunkDataRequirement {
SurfaceColumns(ExactSurfaceSubchunkPolicy),
Layer(i32),
CaveSlice(i32),
Full3dIndices,
}Expand description
One independently requested subchunk representation.
Variants§
SurfaceColumns(ExactSurfaceSubchunkPolicy)
Compute exact visible terrain columns without materializing 3D indices.
Layer(i32)
Decode one fixed world Y layer with 3D random access.
CaveSlice(i32)
Decode one cave slice with 3D random access.
Full3dIndices
Decode every subchunk in the chunk with full 3D random access.
Trait Implementations§
Source§impl Clone for SubchunkDataRequirement
impl Clone for SubchunkDataRequirement
Source§fn clone(&self) -> SubchunkDataRequirement
fn clone(&self) -> SubchunkDataRequirement
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 SubchunkDataRequirement
Source§impl Debug for SubchunkDataRequirement
impl Debug for SubchunkDataRequirement
impl Eq for SubchunkDataRequirement
Source§impl PartialEq for SubchunkDataRequirement
impl PartialEq for SubchunkDataRequirement
impl StructuralPartialEq for SubchunkDataRequirement
Auto Trait Implementations§
impl Freeze for SubchunkDataRequirement
impl RefUnwindSafe for SubchunkDataRequirement
impl Send for SubchunkDataRequirement
impl Sync for SubchunkDataRequirement
impl Unpin for SubchunkDataRequirement
impl UnsafeUnpin for SubchunkDataRequirement
impl UnwindSafe for SubchunkDataRequirement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more