Enum cdragon_wad::WadDataFormat
source · pub enum WadDataFormat {
Uncompressed,
Gzip,
Redirection,
Zstd,
Chunked(u8),
}
Expand description
Type of a WAD entry
Variants§
Uncompressed
Uncompressed entry
Gzip
Entry compressed with gzip
Redirection
Entry redirection
Zstd
Entry compressed with zstd
Chunked(u8)
Entry split into n individual zstd-compressed chunks
A “subchunk TOC” is required for such entries.
Trait Implementations§
source§impl Clone for WadDataFormat
impl Clone for WadDataFormat
source§fn clone(&self) -> WadDataFormat
fn clone(&self) -> WadDataFormat
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 WadDataFormat
impl Debug for WadDataFormat
source§impl PartialEq for WadDataFormat
impl PartialEq for WadDataFormat
source§fn eq(&self, other: &WadDataFormat) -> bool
fn eq(&self, other: &WadDataFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for WadDataFormat
impl TryFrom<u8> for WadDataFormat
impl Copy for WadDataFormat
impl Eq for WadDataFormat
impl StructuralEq for WadDataFormat
impl StructuralPartialEq for WadDataFormat
Auto Trait Implementations§
impl RefUnwindSafe for WadDataFormat
impl Send for WadDataFormat
impl Sync for WadDataFormat
impl Unpin for WadDataFormat
impl UnwindSafe for WadDataFormat
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