pub struct AnalyseOptions {
pub sector_size: u64,
}Expand description
Options controlling analyse_with_options.
Fields§
§sector_size: u64Logical sector size in bytes. Defaults to 512; set to 4096 for a 4Kn (Advanced Format) disk so partition-content offsets, gap sizes, and out-of-bounds bounds are computed against the correct geometry.
Trait Implementations§
Source§impl Clone for AnalyseOptions
impl Clone for AnalyseOptions
Source§fn clone(&self) -> AnalyseOptions
fn clone(&self) -> AnalyseOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnalyseOptions
Source§impl Debug for AnalyseOptions
impl Debug for AnalyseOptions
Auto Trait Implementations§
impl Freeze for AnalyseOptions
impl RefUnwindSafe for AnalyseOptions
impl Send for AnalyseOptions
impl Sync for AnalyseOptions
impl Unpin for AnalyseOptions
impl UnsafeUnpin for AnalyseOptions
impl UnwindSafe for AnalyseOptions
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