Struct lu_formats::files::lvl::Chunk
source · pub struct Chunk {
pub header: (),
pub type: ChunkType,
pub header_version: u16,
pub data_version: u16,
pub size: u32,
pub data_offset: u32,
}
Expand description
Fields§
§header: ()
§type: ChunkType
Enum: chunk_type
header_version: u16
§data_version: u16
§size: u32
§data_offset: u32
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Chunk
impl<'de> Deserialize<'de> for Chunk
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Chunk> for Chunk
impl PartialEq<Chunk> for Chunk
impl StructuralPartialEq for Chunk
Auto Trait Implementations§
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