pub struct FullFile<'a> {
pub file_entry: FileEntry<'a>,
pub data: Vec<u8>,
pub address: u16,
pub length: u16,
}Expand description
A FileEntry with associated file data Should rename this.
Fields§
§file_entry: FileEntry<'a>The associated FileEntry for this file.
data: Vec<u8>The raw data for this file, not including metadata or structured information.
address: u16The address this file was at in memory .
length: u16The length of this file in bytes.
Trait Implementations§
Source§impl<'a> Serializer<'a> for FullFile<'a>
This serializes a File to a block of memory, encoding things like
the address and length for a binary file as header bytes Or
padding with carriage returns or null bytes.
impl<'a> Serializer<'a> for FullFile<'a>
This serializes a File to a block of memory, encoding things like the address and length for a binary file as header bytes Or padding with carriage returns or null bytes.
Auto Trait Implementations§
impl<'a> Freeze for FullFile<'a>
impl<'a> RefUnwindSafe for FullFile<'a>
impl<'a> Send for FullFile<'a>
impl<'a> Sync for FullFile<'a>
impl<'a> Unpin for FullFile<'a>
impl<'a> UnsafeUnpin for FullFile<'a>
impl<'a> UnwindSafe for FullFile<'a>
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