Struct FileRaw
pub struct FileRaw {
pub rid: u32,
pub token: Token,
pub offset: usize,
pub flags: u32,
pub name: u32,
pub hash_value: u32,
}Expand description
The File table lists the files that make up the current assembly. TableId = 0x26
Fields§
§rid: u32RowID
token: TokenToken
offset: usizeOffset
flags: u32a 4-byte bitmask of type FileAttributes, §II.23.1.6
name: u32an index into the String heap
hash_value: u32an index into the Blob heap
Implementations§
§impl FileRaw
impl FileRaw
pub fn apply(&self) -> Result<()>
pub fn apply(&self) -> Result<()>
Apply a FileRaw entry to update related metadata structures.
File entries define files that are part of this assembly. They are primarily metadata descriptors and don’t require cross-table updates during the dual variant resolution phase.
§Errors
Always returns Ok(()) as File entries don’t modify other tables.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileRaw
impl RefUnwindSafe for FileRaw
impl Send for FileRaw
impl Sync for FileRaw
impl Unpin for FileRaw
impl UnwindSafe for FileRaw
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> 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