Struct vpk::entry::VPKDirectoryEntry
source · [−]pub struct VPKDirectoryEntry {
pub crc32: u32,
pub preload_length: u16,
pub archive_index: u16,
pub archive_offset: u32,
pub file_length: u32,
pub suffix: u16,
}
Fields
crc32: u32
preload_length: u16
archive_index: u16
archive_offset: u32
file_length: u32
suffix: u16
Trait Implementations
sourceimpl BinRead for VPKDirectoryEntry
impl BinRead for VPKDirectoryEntry
type Args = ()
type Args = ()
The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more
sourcefn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<Self>
fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<Self>
Read the type from the reader
fn after_parse<R: Read + Seek>(
&mut self,
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<()>
sourcefn read<R>(reader: &mut R) -> Result<Self, Error> where
R: Read + Seek,
fn read<R>(reader: &mut R) -> Result<Self, Error> where
R: Read + Seek,
Read the type from the reader while assuming no arguments have been passed Read more
Auto Trait Implementations
impl RefUnwindSafe for VPKDirectoryEntry
impl Send for VPKDirectoryEntry
impl Sync for VPKDirectoryEntry
impl Unpin for VPKDirectoryEntry
impl UnwindSafe for VPKDirectoryEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more