#[repr(C, packed(1))]pub struct apm_bios_info {
pub version: u16,
pub cseg: u16,
pub offset: u32,
pub cseg_16: u16,
pub dseg: u16,
pub flags: u16,
pub cseg_len: u16,
pub cseg_16_len: u16,
pub dseg_len: u16,
}Available on x86 or x86-64 only.
Expand description
From include/uapi/linux/apm_bios.h
Fields§
§version: u16§cseg: u16§offset: u32§cseg_16: u16§dseg: u16§flags: u16§cseg_len: u16§cseg_16_len: u16§dseg_len: u16Trait Implementations§
Source§impl Clone for apm_bios_info
impl Clone for apm_bios_info
Source§fn clone(&self) -> apm_bios_info
fn clone(&self) -> apm_bios_info
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for apm_bios_info
Source§impl Debug for apm_bios_info
impl Debug for apm_bios_info
Source§impl Default for apm_bios_info
impl Default for apm_bios_info
Source§fn default() -> apm_bios_info
fn default() -> apm_bios_info
Returns the “default value” for a type. Read more
Source§impl PartialEq for apm_bios_info
impl PartialEq for apm_bios_info
Source§fn eq(&self, other: &apm_bios_info) -> bool
fn eq(&self, other: &apm_bios_info) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for apm_bios_info
Auto Trait Implementations§
impl Freeze for apm_bios_info
impl RefUnwindSafe for apm_bios_info
impl Send for apm_bios_info
impl Sync for apm_bios_info
impl Unpin for apm_bios_info
impl UnsafeUnpin for apm_bios_info
impl UnwindSafe for apm_bios_info
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