#[repr(C, packed(1))]pub struct _LEAP_POLICY_EVENT {
pub reserved: u32,
pub current_policy: u32,
}Expand description
\ingroup Structs The response from a request to get or set a policy. LeapPollConnection() creates this struct when the response becomes available. @since 3.0.0
Fields§
§reserved: u32Reserved for future use. @since 3.0.0
current_policy: u32A bitfield containing the policies effective at the time the policy event was processed. @since 3.0.0
Trait Implementations§
Source§impl Clone for _LEAP_POLICY_EVENT
impl Clone for _LEAP_POLICY_EVENT
Source§fn clone(&self) -> _LEAP_POLICY_EVENT
fn clone(&self) -> _LEAP_POLICY_EVENT
Returns a duplicate 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 _LEAP_POLICY_EVENT
impl Debug for _LEAP_POLICY_EVENT
impl Copy for _LEAP_POLICY_EVENT
Auto Trait Implementations§
impl Freeze for _LEAP_POLICY_EVENT
impl RefUnwindSafe for _LEAP_POLICY_EVENT
impl Send for _LEAP_POLICY_EVENT
impl Sync for _LEAP_POLICY_EVENT
impl Unpin for _LEAP_POLICY_EVENT
impl UnwindSafe for _LEAP_POLICY_EVENT
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