#[repr(C, packed(2))]pub struct DriveGeometry {
pub dg_SectorSize: ULONG,
pub dg_TotalSectors: ULONG,
pub dg_Cylinders: ULONG,
pub dg_CylSectors: ULONG,
pub dg_Heads: ULONG,
pub dg_TrackSectors: ULONG,
pub dg_BufMemType: ULONG,
pub dg_DeviceType: UBYTE,
pub dg_Flags: UBYTE,
pub dg_Reserved: UWORD,
}Fields§
§dg_SectorSize: ULONG§dg_TotalSectors: ULONG§dg_Cylinders: ULONG§dg_CylSectors: ULONG§dg_Heads: ULONG§dg_TrackSectors: ULONG§dg_BufMemType: ULONG§dg_DeviceType: UBYTE§dg_Flags: UBYTE§dg_Reserved: UWORDTrait Implementations§
Source§impl Clone for DriveGeometry
impl Clone for DriveGeometry
Source§fn clone(&self) -> DriveGeometry
fn clone(&self) -> DriveGeometry
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 DriveGeometry
impl Debug for DriveGeometry
impl Copy for DriveGeometry
Auto Trait Implementations§
impl Freeze for DriveGeometry
impl RefUnwindSafe for DriveGeometry
impl Send for DriveGeometry
impl Sync for DriveGeometry
impl Unpin for DriveGeometry
impl UnwindSafe for DriveGeometry
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