pub struct LayoutInfo {
pub vds_end: u32,
pub udf_partition_start: u32,
pub udf_metadata_sectors: u32,
pub file_data_start: u32,
pub file_data_end: u32,
pub total_sectors: u32,
}Expand description
Information about the disk layout after planning
Fields§
§vds_end: u32Sector where volume descriptor sequence ends
udf_partition_start: u32Starting sector of UDF partition
udf_metadata_sectors: u32Number of sectors reserved for UDF metadata
file_data_start: u32Starting sector for file data
file_data_end: u32Ending sector for file data
total_sectors: u32Total sectors needed for the image
Implementations§
Source§impl LayoutInfo
impl LayoutInfo
Sourcepub fn udf_partition_length(&self) -> u32
pub fn udf_partition_length(&self) -> u32
Get the UDF partition length in sectors
Trait Implementations§
Source§impl Clone for LayoutInfo
impl Clone for LayoutInfo
Source§fn clone(&self) -> LayoutInfo
fn clone(&self) -> LayoutInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutInfo
impl Debug for LayoutInfo
Auto Trait Implementations§
impl Freeze for LayoutInfo
impl RefUnwindSafe for LayoutInfo
impl Send for LayoutInfo
impl Sync for LayoutInfo
impl Unpin for LayoutInfo
impl UnsafeUnpin for LayoutInfo
impl UnwindSafe for LayoutInfo
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