Enum ue4pak::PakVersion
source · [−]pub enum PakVersion {
Initial,
NoTimestamps,
CompressionEncryption,
IndexEncryption,
RelativeChunkOffsets,
DeleteRecords,
EncryptionKeyGuid,
FNameBasedCompressionMethod422,
FNameBasedCompressionMethod,
FrozenIndex,
PathHashIndex,
Fnv64BugFix,
}
Variants
Initial
NoTimestamps
CompressionEncryption
IndexEncryption
RelativeChunkOffsets
DeleteRecords
EncryptionKeyGuid
FNameBasedCompressionMethod422
in 4.22:
- MAX_NUM_COMPRESSION_METHODS was 4 but since 4.23 it is 5
FNameBasedCompressionMethod
FrozenIndex
PathHashIndex
Fnv64BugFix
Implementations
Trait Implementations
sourceimpl ArchivableWith<PakVersion> for PakEntry
impl ArchivableWith<PakVersion> for PakEntry
fn ser_de_with<A: Archive>(
&mut self,
ar: &mut A,
version: PakVersion
) -> Result<()>
fn ser_de_len_with(&mut self, extra: E) -> u64
fn ser_with<A: Archive>(&self, ar: &mut A, extra: E) -> Result<()>where
Self: Clone,
fn ser_len_with(&self, extra: E) -> u64where
Self: Clone,
fn de_with<A: Archive>(ar: &mut A, extra: E) -> Result<Self>where
Self: Default,
sourceimpl Clone for PakVersion
impl Clone for PakVersion
sourcefn clone(&self) -> PakVersion
fn clone(&self) -> PakVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PakVersion
impl Debug for PakVersion
sourceimpl Display for PakVersion
impl Display for PakVersion
sourceimpl Ord for PakVersion
impl Ord for PakVersion
sourcefn cmp(&self, other: &PakVersion) -> Ordering
fn cmp(&self, other: &PakVersion) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<PakVersion> for PakVersion
impl PartialEq<PakVersion> for PakVersion
sourcefn eq(&self, other: &PakVersion) -> bool
fn eq(&self, other: &PakVersion) -> bool
sourceimpl PartialOrd<PakVersion> for PakVersion
impl PartialOrd<PakVersion> for PakVersion
sourcefn partial_cmp(&self, other: &PakVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &PakVersion) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PakVersion
impl Eq for PakVersion
impl StructuralEq for PakVersion
impl StructuralPartialEq for PakVersion
Auto Trait Implementations
impl RefUnwindSafe for PakVersion
impl Send for PakVersion
impl Sync for PakVersion
impl Unpin for PakVersion
impl UnwindSafe for PakVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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