pub struct DiskGeometry {
pub heads_per_cylinder: u32,
pub sectors_per_track: u32,
}Fields§
§heads_per_cylinder: u32Heads per cylinder.
sectors_per_track: u32Sectors per track.
Implementations§
Source§impl DiskGeometry
impl DiskGeometry
Trait Implementations§
Source§impl Clone for DiskGeometry
impl Clone for DiskGeometry
Source§fn clone(&self) -> DiskGeometry
fn clone(&self) -> DiskGeometry
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 DiskGeometry
impl Debug for DiskGeometry
Source§impl Default for DiskGeometry
impl Default for DiskGeometry
Source§impl Display for DiskGeometry
impl Display for DiskGeometry
Source§impl Hash for DiskGeometry
impl Hash for DiskGeometry
Source§impl Ord for DiskGeometry
impl Ord for DiskGeometry
Source§fn cmp(&self, other: &DiskGeometry) -> Ordering
fn cmp(&self, other: &DiskGeometry) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DiskGeometry
impl PartialEq for DiskGeometry
Source§impl PartialOrd for DiskGeometry
impl PartialOrd for DiskGeometry
impl Copy for DiskGeometry
impl Eq for DiskGeometry
impl StructuralPartialEq for DiskGeometry
Auto Trait Implementations§
impl Freeze for DiskGeometry
impl RefUnwindSafe for DiskGeometry
impl Send for DiskGeometry
impl Sync for DiskGeometry
impl Unpin for DiskGeometry
impl UnwindSafe for DiskGeometry
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