#[repr(C, packed(1))]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: u32The size of this structure. @since 3.0.0
status: eLeapConnectionStatusThe current status of this connection. @since 3.0.0
Trait Implementations§
Source§impl Clone for _LEAP_CONNECTION_INFO
impl Clone for _LEAP_CONNECTION_INFO
Source§fn clone(&self) -> _LEAP_CONNECTION_INFO
fn clone(&self) -> _LEAP_CONNECTION_INFO
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_CONNECTION_INFO
impl Debug for _LEAP_CONNECTION_INFO
impl Copy for _LEAP_CONNECTION_INFO
Auto Trait Implementations§
impl Freeze for _LEAP_CONNECTION_INFO
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§
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