pub struct ChunkSection {
pub non_air_block_count: u16,
pub blocks: Palette,
pub biomes: Palette,
}Expand description
Секция чанка
Fields§
§non_air_block_count: u16Количество блоков, не относящихся к воздуху
blocks: PaletteБлоки чанка (всего 4096)
biomes: PaletteБиомы чанка
Trait Implementations§
Source§impl Clone for ChunkSection
impl Clone for ChunkSection
Source§fn clone(&self) -> ChunkSection
fn clone(&self) -> ChunkSection
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 moreSource§impl Debug for ChunkSection
impl Debug for ChunkSection
Source§impl PartialEq for ChunkSection
impl PartialEq for ChunkSection
Source§fn eq(&self, other: &ChunkSection) -> bool
fn eq(&self, other: &ChunkSection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChunkSection
Auto Trait Implementations§
impl Freeze for ChunkSection
impl RefUnwindSafe for ChunkSection
impl Send for ChunkSection
impl Sync for ChunkSection
impl Unpin for ChunkSection
impl UnsafeUnpin for ChunkSection
impl UnwindSafe for ChunkSection
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