Struct zx_types::zx_policy_timer_slack
source · #[repr(C)]pub struct zx_policy_timer_slack {
pub min_slack: zx_duration_t,
pub default_mode: u32,
}
Fields§
§min_slack: zx_duration_t
§default_mode: u32
Trait Implementations§
source§impl Clone for zx_policy_timer_slack
impl Clone for zx_policy_timer_slack
source§fn clone(&self) -> zx_policy_timer_slack
fn clone(&self) -> zx_policy_timer_slack
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 zx_policy_timer_slack
impl Debug for zx_policy_timer_slack
source§impl PartialEq for zx_policy_timer_slack
impl PartialEq for zx_policy_timer_slack
source§fn eq(&self, other: &zx_policy_timer_slack) -> bool
fn eq(&self, other: &zx_policy_timer_slack) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for zx_policy_timer_slack
impl Eq for zx_policy_timer_slack
impl StructuralPartialEq for zx_policy_timer_slack
Auto Trait Implementations§
impl Freeze for zx_policy_timer_slack
impl RefUnwindSafe for zx_policy_timer_slack
impl Send for zx_policy_timer_slack
impl Sync for zx_policy_timer_slack
impl Unpin for zx_policy_timer_slack
impl UnwindSafe for zx_policy_timer_slack
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
)