Struct nom_mpq::parser::mpq_file_header_ext::MPQFileHeaderExt
source · pub struct MPQFileHeaderExt { /* private fields */ }
Expand description
Extended fields only present in the Burning Crusade format and later
Implementations§
source§impl MPQFileHeaderExt
impl MPQFileHeaderExt
sourcepub fn parse(input: &[u8]) -> IResult<&[u8], MPQFileHeaderExt>
pub fn parse(input: &[u8]) -> IResult<&[u8], MPQFileHeaderExt>
Parses all the fields in the expected order
sourcepub fn parse_extended_block_table_offset(input: &[u8]) -> IResult<&[u8], i64>
pub fn parse_extended_block_table_offset(input: &[u8]) -> IResult<&[u8], i64>
Offset 0x20
: int64 ExtendedBlockTableOffset
Offset to the beginning of the extended block table, relative to the beginning of the archive.
Trait Implementations§
source§impl Clone for MPQFileHeaderExt
impl Clone for MPQFileHeaderExt
source§fn clone(&self) -> MPQFileHeaderExt
fn clone(&self) -> MPQFileHeaderExt
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 moresource§impl Debug for MPQFileHeaderExt
impl Debug for MPQFileHeaderExt
source§impl Default for MPQFileHeaderExt
impl Default for MPQFileHeaderExt
source§fn default() -> MPQFileHeaderExt
fn default() -> MPQFileHeaderExt
Returns the “default value” for a type. Read more
source§impl PartialEq<MPQFileHeaderExt> for MPQFileHeaderExt
impl PartialEq<MPQFileHeaderExt> for MPQFileHeaderExt
source§fn eq(&self, other: &MPQFileHeaderExt) -> bool
fn eq(&self, other: &MPQFileHeaderExt) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MPQFileHeaderExt
impl StructuralPartialEq for MPQFileHeaderExt
Auto Trait Implementations§
impl RefUnwindSafe for MPQFileHeaderExt
impl Send for MPQFileHeaderExt
impl Sync for MPQFileHeaderExt
impl Unpin for MPQFileHeaderExt
impl UnwindSafe for MPQFileHeaderExt
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