Struct linux_raw_sys::bootparam::edd_device_params
source · #[repr(C, packed(1))]pub struct edd_device_params {Show 18 fields
pub length: __u16,
pub info_flags: __u16,
pub num_default_cylinders: __u32,
pub num_default_heads: __u32,
pub sectors_per_track: __u32,
pub number_of_sectors: __u64,
pub bytes_per_sector: __u16,
pub dpte_ptr: __u32,
pub key: __u16,
pub device_path_info_length: __u8,
pub reserved2: __u8,
pub reserved3: __u16,
pub host_bus_type: [__u8; 4],
pub interface_type: [__u8; 8],
pub interface_path: edd_device_params__bindgen_ty_1,
pub device_path: edd_device_params__bindgen_ty_2,
pub reserved4: __u8,
pub checksum: __u8,
}
Fields§
§length: __u16
§info_flags: __u16
§num_default_cylinders: __u32
§num_default_heads: __u32
§sectors_per_track: __u32
§number_of_sectors: __u64
§bytes_per_sector: __u16
§dpte_ptr: __u32
§key: __u16
§device_path_info_length: __u8
§reserved2: __u8
§reserved3: __u16
§host_bus_type: [__u8; 4]
§interface_type: [__u8; 8]
§interface_path: edd_device_params__bindgen_ty_1
§device_path: edd_device_params__bindgen_ty_2
§reserved4: __u8
§checksum: __u8
Trait Implementations§
source§impl Clone for edd_device_params
impl Clone for edd_device_params
source§fn clone(&self) -> edd_device_params
fn clone(&self) -> edd_device_params
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 moreimpl Copy for edd_device_params
Auto Trait Implementations§
impl Freeze for edd_device_params
impl RefUnwindSafe for edd_device_params
impl Send for edd_device_params
impl Sync for edd_device_params
impl Unpin for edd_device_params
impl UnwindSafe for edd_device_params
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