Struct dbs_boot::bootparam::edd_device_params
source · [−]#[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: __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
sourceimpl Clone for edd_device_params
impl Clone for edd_device_params
sourcefn clone(&self) -> edd_device_params
fn clone(&self) -> edd_device_params
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for edd_device_params
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more