Struct ogawa_rs::GroupChunk
source · pub struct GroupChunk {
pub position: u64,
pub child_count: u64,
pub children: Vec<u64>,
}
Fields§
§position: u64
§child_count: u64
§children: Vec<u64>
Implementations§
source§impl GroupChunk
impl GroupChunk
pub fn load( group_pos: u64, is_light: bool, reader: &mut dyn ArchiveReader ) -> Result<GroupChunk>
pub fn is_light(&self) -> bool
pub fn load_group( &self, reader: &mut dyn ArchiveReader, index: usize, is_light: bool ) -> Result<GroupChunk>
pub fn load_data( &self, reader: &mut dyn ArchiveReader, index: usize ) -> Result<DataChunk>
Trait Implementations§
source§impl Clone for GroupChunk
impl Clone for GroupChunk
source§fn clone(&self) -> GroupChunk
fn clone(&self) -> GroupChunk
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more