Enum nom_mpq::parser::MPQHashType
source · pub enum MPQHashType {
TableOffset,
HashA,
HashB,
Table,
}
Expand description
Different HashTypes used in MPQ Archives, they are used to identify embedded filenames.
Variants§
TableOffset
A hashing of type TableOffset
HashA
A Hashing of type A
HashB
A Hashing of type B
Table
A Hashing of type Table
Trait Implementations§
source§impl Clone for MPQHashType
impl Clone for MPQHashType
source§fn clone(&self) -> MPQHashType
fn clone(&self) -> MPQHashType
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 MPQHashType
impl Debug for MPQHashType
source§impl PartialEq<MPQHashType> for MPQHashType
impl PartialEq<MPQHashType> for MPQHashType
source§fn eq(&self, other: &MPQHashType) -> bool
fn eq(&self, other: &MPQHashType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<MPQHashType> for u32
impl TryFrom<MPQHashType> for u32
source§impl TryFrom<u32> for MPQHashType
impl TryFrom<u32> for MPQHashType
impl Copy for MPQHashType
impl StructuralPartialEq for MPQHashType
Auto Trait Implementations§
impl RefUnwindSafe for MPQHashType
impl Send for MPQHashType
impl Sync for MPQHashType
impl Unpin for MPQHashType
impl UnwindSafe for MPQHashType
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