pub struct Chunk {
pub length: u32,
pub compression: CompressionScheme,
pub data: ChunkData,
}Expand description
A struct containing the chunk data
Fields§
§length: u32length of the data in bytes
compression: CompressionSchemeThe used compression
data: ChunkDataThe compressed data as nbt data
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Chunk
impl RefUnwindSafe for Chunk
impl Send for Chunk
impl Sync for Chunk
impl Unpin for Chunk
impl UnwindSafe for Chunk
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