#[repr(C)]pub struct DirInfo {
pub path: HashToIndex,
pub name: Hash40,
pub parent: Hash40,
pub extra_dis_re: u32,
pub extra_dis_re_length: u32,
pub file_info_start_index: u32,
pub file_count: u32,
pub child_dir_start_index: u32,
pub child_dir_count: u32,
pub flags: DirInfoFlags,
}
Expand description
Also known as MassLoadingGroup
Fields§
§path: HashToIndex
§name: Hash40
§parent: Hash40
§extra_dis_re: u32
§extra_dis_re_length: u32
§file_info_start_index: u32
§file_count: u32
§child_dir_start_index: u32
§child_dir_count: u32
§flags: DirInfoFlags
Implementations§
Trait Implementations§
source§impl BinRead for DirInfo
impl BinRead for DirInfo
source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_> ) -> BinResult<Self>
source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
big-endian byte order. Read moresource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
little-endian byte order. Read moresource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T
from the reader assuming native-endian byte order. Read moresource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming big-endian byte order, using the
given arguments. Read moresource§fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming little-endian byte order, using
the given arguments. Read moreimpl Copy for DirInfo
Auto Trait Implementations§
impl RefUnwindSafe for DirInfo
impl Send for DirInfo
impl Sync for DirInfo
impl Unpin for DirInfo
impl UnwindSafe for DirInfo
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