#[repr(C)]pub struct DISK_GEOMETRY {
pub Cylinders: LARGE_INTEGER,
pub MediaType: MEDIA_TYPE,
pub TracksPerCylinder: DWORD,
pub SectorsPerTrack: DWORD,
pub BytesPerSector: DWORD,
}
Fields§
§Cylinders: LARGE_INTEGER
§MediaType: MEDIA_TYPE
§TracksPerCylinder: DWORD
§SectorsPerTrack: DWORD
§BytesPerSector: DWORD
Trait Implementations§
Source§impl Clone for DISK_GEOMETRY
impl Clone for DISK_GEOMETRY
Source§fn clone(&self) -> DISK_GEOMETRY
fn clone(&self) -> DISK_GEOMETRY
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 Default for DISK_GEOMETRY
impl Default for DISK_GEOMETRY
Source§fn default() -> DISK_GEOMETRY
fn default() -> DISK_GEOMETRY
Returns the “default value” for a type. Read more
impl Copy for DISK_GEOMETRY
Auto Trait Implementations§
impl Freeze for DISK_GEOMETRY
impl RefUnwindSafe for DISK_GEOMETRY
impl Send for DISK_GEOMETRY
impl Sync for DISK_GEOMETRY
impl Unpin for DISK_GEOMETRY
impl UnwindSafe for DISK_GEOMETRY
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