Struct windows::Win32::System::Ioctl::DISK_GEOMETRY
#[repr(C)]pub struct DISK_GEOMETRY {
pub Cylinders: i64,
pub MediaType: MEDIA_TYPE,
pub TracksPerCylinder: u32,
pub SectorsPerTrack: u32,
pub BytesPerSector: u32,
}
Fields§
§Cylinders: i64
§MediaType: MEDIA_TYPE
§TracksPerCylinder: u32
§SectorsPerTrack: u32
§BytesPerSector: u32
Trait Implementations§
§impl Clone for DISK_GEOMETRY
impl Clone for DISK_GEOMETRY
§fn clone(&self) -> DISK_GEOMETRY
fn clone(&self) -> DISK_GEOMETRY
Returns a copy 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 more§impl Debug for DISK_GEOMETRY
impl Debug for DISK_GEOMETRY
§impl Default for DISK_GEOMETRY
impl Default for DISK_GEOMETRY
§impl PartialEq for DISK_GEOMETRY
impl PartialEq for DISK_GEOMETRY
§fn eq(&self, other: &DISK_GEOMETRY) -> bool
fn eq(&self, other: &DISK_GEOMETRY) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DISK_GEOMETRY
impl Eq for DISK_GEOMETRY
impl StructuralPartialEq 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)