Struct leap_sys::_LEAP_CONNECTION_INFO
source · [−]#[repr(C, packed)]pub struct _LEAP_CONNECTION_INFO {
pub size: u32,
pub status: eLeapConnectionStatus,
}
Expand description
\ingroup Structs Information about a connection.
Call LeapCreateConnection() to generate the handle for the connection; call LeapOpenConnection() to establish the connection; then call LeapGetConnectionInfo(), which creates this struct, to check the connection status. @since 3.0.0
Fields
size: u32
The size of this structure. @since 3.0.0
status: eLeapConnectionStatus
The current status of this connection. @since 3.0.0
Trait Implementations
sourceimpl Clone for _LEAP_CONNECTION_INFO
impl Clone for _LEAP_CONNECTION_INFO
sourcefn clone(&self) -> _LEAP_CONNECTION_INFO
fn clone(&self) -> _LEAP_CONNECTION_INFO
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
sourceimpl Debug for _LEAP_CONNECTION_INFO
impl Debug for _LEAP_CONNECTION_INFO
impl Copy for _LEAP_CONNECTION_INFO
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_CONNECTION_INFO
impl Send for _LEAP_CONNECTION_INFO
impl Sync for _LEAP_CONNECTION_INFO
impl Unpin for _LEAP_CONNECTION_INFO
impl UnwindSafe for _LEAP_CONNECTION_INFO
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