Struct ext2::arena::FileMappingInfo
source · pub struct FileMappingInfo {
pub mem_offset: usize,
pub file: File,
pub length: usize,
pub file_offset: usize,
}
Expand description
Information on how to mmap a host file to ext2 blocks.
Fields§
§mem_offset: usize
Offset in the memory that a file is mapped to.
file: File
The file to be mmap’d.
length: usize
The length of the mapping.
file_offset: usize
Offset in the file to start the mapping.
Auto Trait Implementations§
impl RefUnwindSafe for FileMappingInfo
impl Send for FileMappingInfo
impl Sync for FileMappingInfo
impl Unpin for FileMappingInfo
impl UnwindSafe for FileMappingInfo
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