[][src]Struct leap_sys::_LEAP_POLICY_EVENT

#[repr(C, packed)]pub struct _LEAP_POLICY_EVENT {
    pub reserved: u32,
    pub current_policy: u32,
}

\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: u32

Reserved for future use. @since 3.0.0

current_policy: u32

A bitfield containing the policies effective at the time the policy event was processed. @since 3.0.0

Trait Implementations

impl Clone for _LEAP_POLICY_EVENT[src]

impl Copy for _LEAP_POLICY_EVENT[src]

impl Debug for _LEAP_POLICY_EVENT[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.