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: usizeOffset in the memory that a file is mapped to.
file: FileThe file to be mmap’d.
length: usizeThe length of the mapping.
file_offset: usizeOffset in the file to start the mapping.
Auto Trait Implementations§
impl Freeze for FileMappingInfo
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