#[repr(C, packed)]
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: __u16info_flags: __u16num_default_cylinders: __u32num_default_heads: __u32sectors_per_track: __u32number_of_sectors: __u64bytes_per_sector: __u16dpte_ptr: __u32key: __u16device_path_info_length: __u8reserved2: __u8reserved3: __u16host_bus_type: [__u8; 4]interface_type: [__u8; 8]interface_path: edd_device_params__bindgen_ty_1device_path: edd_device_params__bindgen_ty_2reserved4: __u8checksum: __u8

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.