pub struct SectorSizes {
pub logical: u32,
pub physical: u32,
pub cluster_or_block: u32,
}Expand description
Logical/physical sector and cluster/block sizes, with per-layer provenance.
Fields§
§logical: u32§physical: u32§cluster_or_block: u32Trait Implementations§
Source§impl Clone for SectorSizes
impl Clone for SectorSizes
Source§fn clone(&self) -> SectorSizes
fn clone(&self) -> SectorSizes
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 SectorSizes
Source§impl Debug for SectorSizes
impl Debug for SectorSizes
impl Eq for SectorSizes
Source§impl PartialEq for SectorSizes
impl PartialEq for SectorSizes
impl StructuralPartialEq for SectorSizes
Auto Trait Implementations§
impl Freeze for SectorSizes
impl RefUnwindSafe for SectorSizes
impl Send for SectorSizes
impl Sync for SectorSizes
impl Unpin for SectorSizes
impl UnsafeUnpin for SectorSizes
impl UnwindSafe for SectorSizes
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