Enum level_lib::anvil::region::chunk::chunk_data::ChunkDataHolder
source · pub enum ChunkDataHolder {
Data(StructureData),
Empty {
id: String,
},
}Expand description
This enum is to determine, if a structure is in a chunk or not
Variants§
Data(StructureData)
This option is used if the structure is in the chunk
Empty
This optiojn is used, if the structure is marked as abscent
Implementations§
Trait Implementations§
source§impl AsNbtValue for ChunkDataHolder
impl AsNbtValue for ChunkDataHolder
source§impl Debug for ChunkDataHolder
impl Debug for ChunkDataHolder
source§impl PartialEq for ChunkDataHolder
impl PartialEq for ChunkDataHolder
source§fn eq(&self, other: &ChunkDataHolder) -> bool
fn eq(&self, other: &ChunkDataHolder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ChunkDataHolder
Auto Trait Implementations§
impl Freeze for ChunkDataHolder
impl RefUnwindSafe for ChunkDataHolder
impl Send for ChunkDataHolder
impl Sync for ChunkDataHolder
impl Unpin for ChunkDataHolder
impl UnwindSafe for ChunkDataHolder
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