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