Struct zx::sys::zx_processor_power_level_transition_t
source · #[repr(C)]pub struct zx_processor_power_level_transition_t {
pub latency: i64,
pub energy: u64,
pub from: u8,
pub to: u8,
pub padding: [u8; 6],
}
Fields§
§latency: i64
§energy: u64
§from: u8
§to: u8
§padding: [u8; 6]
Trait Implementations§
source§impl Clone for zx_processor_power_level_transition_t
impl Clone for zx_processor_power_level_transition_t
source§fn clone(&self) -> zx_processor_power_level_transition_t
fn clone(&self) -> zx_processor_power_level_transition_t
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 Default for zx_processor_power_level_transition_t
impl Default for zx_processor_power_level_transition_t
source§fn default() -> zx_processor_power_level_transition_t
fn default() -> zx_processor_power_level_transition_t
Returns the “default value” for a type. Read more
source§impl PartialEq for zx_processor_power_level_transition_t
impl PartialEq for zx_processor_power_level_transition_t
source§fn eq(&self, other: &zx_processor_power_level_transition_t) -> bool
fn eq(&self, other: &zx_processor_power_level_transition_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for zx_processor_power_level_transition_t
impl Eq for zx_processor_power_level_transition_t
impl StructuralPartialEq for zx_processor_power_level_transition_t
Auto Trait Implementations§
impl Freeze for zx_processor_power_level_transition_t
impl RefUnwindSafe for zx_processor_power_level_transition_t
impl Send for zx_processor_power_level_transition_t
impl Sync for zx_processor_power_level_transition_t
impl Unpin for zx_processor_power_level_transition_t
impl UnwindSafe for zx_processor_power_level_transition_t
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)