pub struct Builder {
pub blocks_per_group: u32,
pub inodes_per_group: u32,
pub size: u32,
pub root_dir: Option<PathBuf>,
}
Expand description
A struct to represent the configuration of an ext2 filesystem.
Fields§
§blocks_per_group: u32
The number of blocks per group.
inodes_per_group: u32
The number of inodes per group.
size: u32
The size of the memory region.
root_dir: Option<PathBuf>
The roof directory to be copied to the file system.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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