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

source§

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)

Performs copy-assignment from source. Read more
source§

impl Copy for edd_device_params

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.