#[repr(transparent)]pub struct RegisterOffset(pub u64);
Tuple Fields§
§0: u64
Implementations§
Source§impl RegisterOffset
impl RegisterOffset
pub const STA_BATTERY_STATUS: RegisterOffset
pub const BST_BATTERY_STATE: RegisterOffset
pub const BST_BATTERY_PRESENT_RATE: RegisterOffset
pub const BST_BATTERY_REMAINING_CAPACITY: RegisterOffset
pub const PSR_AC_POWER_STATUS: RegisterOffset
pub const BATTERY_ACPI_NOTIFY_STATUS: RegisterOffset
pub const BATTERY_ACPI_NOTIFY_CLEAR: RegisterOffset
Trait Implementations§
Source§impl Clone for RegisterOffset
impl Clone for RegisterOffset
Source§fn clone(&self) -> RegisterOffset
fn clone(&self) -> RegisterOffset
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 moreSource§impl Debug for RegisterOffset
impl Debug for RegisterOffset
Source§impl Hash for RegisterOffset
impl Hash for RegisterOffset
Source§impl Inspect for RegisterOffset
impl Inspect for RegisterOffset
Source§impl Ord for RegisterOffset
impl Ord for RegisterOffset
Source§fn cmp(&self, other: &RegisterOffset) -> Ordering
fn cmp(&self, other: &RegisterOffset) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RegisterOffset
impl PartialEq for RegisterOffset
Source§impl PartialOrd for RegisterOffset
impl PartialOrd for RegisterOffset
impl Copy for RegisterOffset
impl Eq for RegisterOffset
impl StructuralPartialEq for RegisterOffset
Auto Trait Implementations§
impl Freeze for RegisterOffset
impl RefUnwindSafe for RegisterOffset
impl Send for RegisterOffset
impl Sync for RegisterOffset
impl Unpin for RegisterOffset
impl UnwindSafe for RegisterOffset
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