#[repr(C)]pub struct zx_processor_power_level_transition_t {
pub latency: i64,
pub energy: u64,
pub from: u8,
pub to: u8,
/* private fields */
}
Fields§
§latency: i64
§energy: u64
§from: u8
§to: u8
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
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§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
)