[−][src]Struct libipt_sys::pt_packet_pwrx
A PWRX packet.
Fields
last: u8
The core C-state at the time of the wake.
deepest: u8
The deepest core C-state achieved during sleep.
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
__bindgen_padding_0: u8
Methods
impl pt_packet_pwrx
[src]
pub fn interrupt(&self) -> u32
[src]
pub fn set_interrupt(&mut self, val: u32)
[src]
pub fn store(&self) -> u32
[src]
pub fn set_store(&mut self, val: u32)
[src]
pub fn autonomous(&self) -> u32
[src]
pub fn set_autonomous(&mut self, val: u32)
[src]
pub fn new_bitfield_1(
interrupt: u32,
store: u32,
autonomous: u32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
interrupt: u32,
store: u32,
autonomous: u32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for pt_packet_pwrx
[src]
fn clone(&self) -> pt_packet_pwrx
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for pt_packet_pwrx
[src]
impl Debug for pt_packet_pwrx
[src]
Auto Trait Implementations
impl Send for pt_packet_pwrx
impl Sync for pt_packet_pwrx
impl Unpin for pt_packet_pwrx
impl UnwindSafe for pt_packet_pwrx
impl RefUnwindSafe for pt_packet_pwrx
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,