pub struct FileMapping {
pub file_data_id: u32,
pub content_key: [u8; 16],
pub encoding_key: Option<EKey>,
pub flags: Option<ContentFlags>,
}Expand description
Represents a file mapping from FileDataID to EKey
Fields§
§file_data_id: u32FileDataID (game’s internal file identifier)
content_key: [u8; 16]Content key (MD5 hash from root manifest)
encoding_key: Option<EKey>Encoding key (from encoding manifest)
flags: Option<ContentFlags>Content flags for this file
Trait Implementations§
Source§impl Clone for FileMapping
impl Clone for FileMapping
Source§fn clone(&self) -> FileMapping
fn clone(&self) -> FileMapping
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FileMapping
impl RefUnwindSafe for FileMapping
impl Send for FileMapping
impl Sync for FileMapping
impl Unpin for FileMapping
impl UnwindSafe for FileMapping
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