Struct xhci::extended_capabilities::hci_extended_power_management::PowerManagementCapabilities
source · #[repr(transparent)]pub struct PowerManagementCapabilities(_);
Expand description
Power Management Capabilities.
Implementations§
source§impl PowerManagementCapabilities
impl PowerManagementCapabilities
sourcepub fn pme_support(self) -> u8
pub fn pme_support(self) -> u8
Returns the value of the PME_Support field.
sourcepub fn d2_support(self) -> bool
pub fn d2_support(self) -> bool
Returns the D2_Support bit.
sourcepub fn d1_support(self) -> bool
pub fn d1_support(self) -> bool
Returns the D1_Support bit.
sourcepub fn aux_current(self) -> u8
pub fn aux_current(self) -> u8
Returns the value of the Aux_Current field.
Trait Implementations§
source§impl Clone for PowerManagementCapabilities
impl Clone for PowerManagementCapabilities
source§fn clone(&self) -> PowerManagementCapabilities
fn clone(&self) -> PowerManagementCapabilities
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 PowerManagementCapabilities
impl Debug for PowerManagementCapabilities
impl Copy for PowerManagementCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for PowerManagementCapabilities
impl Send for PowerManagementCapabilities
impl Sync for PowerManagementCapabilities
impl Unpin for PowerManagementCapabilities
impl UnwindSafe for PowerManagementCapabilities
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