pub struct RootEntry {
pub ckey: [u8; 16],
pub content_flags: ContentFlags,
pub locale_flags: LocaleFlags,
pub name_hash: Option<u64>,
}Expand description
A single root file entry mapping a CKey to flags/locale/name hash.
Fields§
§ckey: [u8; 16]Content key identifying the file data in the encoding table.
content_flags: ContentFlagsContent flags (platform, encryption, compression hints).
locale_flags: LocaleFlagsLocale flags indicating which client locales this entry applies to.
name_hash: Option<u64>Jenkins96 name hash of the original file path, or None when the
NoNameHash content flag is set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RootEntry
impl RefUnwindSafe for RootEntry
impl Send for RootEntry
impl Sync for RootEntry
impl Unpin for RootEntry
impl UnsafeUnpin for RootEntry
impl UnwindSafe for RootEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more