Struct vpk::structs::VPKHeaderV2
source · [−]pub struct VPKHeaderV2 {
pub embed_chunk_length: u32,
pub chunk_hashes_length: u32,
pub self_hashes_length: u32,
pub signature_length: u32,
}
Fields
embed_chunk_length: u32
chunk_hashes_length: u32
self_hashes_length: u32
signature_length: u32
Trait Implementations
sourceimpl BinRead for VPKHeaderV2
impl BinRead for VPKHeaderV2
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 VPKHeaderV2
impl Send for VPKHeaderV2
impl Sync for VPKHeaderV2
impl Unpin for VPKHeaderV2
impl UnwindSafe for VPKHeaderV2
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