Enum ChunkStatus
#[non_exhaustive]pub enum ChunkStatus {
Full,
}Expand description
The status of a loaded chunk that Horizon can expose.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Full
A full chunk in a level’s live world.
Trait Implementations§
§impl Clone for ChunkStatus
impl Clone for ChunkStatus
§fn clone(&self) -> ChunkStatus
fn clone(&self) -> ChunkStatus
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 ChunkStatus
§impl Debug for ChunkStatus
impl Debug for ChunkStatus
impl Eq for ChunkStatus
§impl PartialEq for ChunkStatus
impl PartialEq for ChunkStatus
impl StructuralPartialEq for ChunkStatus
Auto Trait Implementations§
impl Freeze for ChunkStatus
impl RefUnwindSafe for ChunkStatus
impl Send for ChunkStatus
impl Sync for ChunkStatus
impl Unpin for ChunkStatus
impl UnsafeUnpin for ChunkStatus
impl UnwindSafe for ChunkStatus
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