#[repr(C, packed)]pub struct _LEAP_DEVICE_STATUS_CHANGE_EVENT {
pub device: LEAP_DEVICE_REF,
pub last_status: u32,
pub status: u32,
}
Expand description
\ingroup Structs A notification that a device’s status has changed. One of these messages is received by the client as soon as the service is connected, or when a new device is attached. @since 3.1.3
Fields
device: LEAP_DEVICE_REF
A reference to the device whose status has changed
last_status: u32
The last known status of the device. This is a combination of eLeapDeviceStatus flags. @since 3.1.3
status: u32
The current status of the device. This is a combination of eLeapDeviceStatus flags. @since 3.1.3
Trait Implementations
sourceimpl Clone for _LEAP_DEVICE_STATUS_CHANGE_EVENT
impl Clone for _LEAP_DEVICE_STATUS_CHANGE_EVENT
sourcefn clone(&self) -> _LEAP_DEVICE_STATUS_CHANGE_EVENT
fn clone(&self) -> _LEAP_DEVICE_STATUS_CHANGE_EVENT
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for _LEAP_DEVICE_STATUS_CHANGE_EVENT
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_DEVICE_STATUS_CHANGE_EVENT
impl !Send for _LEAP_DEVICE_STATUS_CHANGE_EVENT
impl !Sync for _LEAP_DEVICE_STATUS_CHANGE_EVENT
impl Unpin for _LEAP_DEVICE_STATUS_CHANGE_EVENT
impl UnwindSafe for _LEAP_DEVICE_STATUS_CHANGE_EVENT
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more