pub enum DirtyExtent {
Full,
Bbox(IVec3, IVec3),
}Expand description
PF.12 — how much of a chunk changed since a consumer last synced it.
Variants§
Full
Unknown / whole-chunk change (installs, wholesale replaces,
extent-less Grid::bump_chunk_version calls).
Bbox(IVec3, IVec3)
Inclusive CHUNK-LOCAL voxel bbox covering every change.
Trait Implementations§
Source§impl Clone for DirtyExtent
impl Clone for DirtyExtent
Source§fn clone(&self) -> DirtyExtent
fn clone(&self) -> DirtyExtent
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 DirtyExtent
Source§impl Debug for DirtyExtent
impl Debug for DirtyExtent
impl Eq for DirtyExtent
Source§impl PartialEq for DirtyExtent
impl PartialEq for DirtyExtent
impl StructuralPartialEq for DirtyExtent
Auto Trait Implementations§
impl Freeze for DirtyExtent
impl RefUnwindSafe for DirtyExtent
impl Send for DirtyExtent
impl Sync for DirtyExtent
impl Unpin for DirtyExtent
impl UnsafeUnpin for DirtyExtent
impl UnwindSafe for DirtyExtent
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<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