#[repr(i32)]pub enum FormatVersion {
V1 = 0,
V2 = 1,
}Expand description
MPQ format version.
Variants§
V1 = 0
Original format (up to 4 GB archives).
V2 = 1
Extended format (>4 GB archives, hi-block table).
Trait Implementations§
Source§impl Clone for FormatVersion
impl Clone for FormatVersion
Source§fn clone(&self) -> FormatVersion
fn clone(&self) -> FormatVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FormatVersion
Source§impl Debug for FormatVersion
impl Debug for FormatVersion
impl Eq for FormatVersion
Source§impl Hash for FormatVersion
impl Hash for FormatVersion
Source§impl PartialEq for FormatVersion
impl PartialEq for FormatVersion
impl StructuralPartialEq for FormatVersion
Auto Trait Implementations§
impl Freeze for FormatVersion
impl RefUnwindSafe for FormatVersion
impl Send for FormatVersion
impl Sync for FormatVersion
impl Unpin for FormatVersion
impl UnsafeUnpin for FormatVersion
impl UnwindSafe for FormatVersion
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