#[repr(C)]pub struct Leap_Device {
pub _base: Leap_Interface,
}
Fields§
§_base: Leap_Interface
Implementations§
Source§impl Leap_Device
impl Leap_Device
pub unsafe fn horizontalViewAngle(&self) -> f32
pub unsafe fn verticalViewAngle(&self) -> f32
pub unsafe fn range(&self) -> f32
pub unsafe fn baseline(&self) -> f32
pub unsafe fn distanceToBoundary(&self, position: *const Leap_Vector) -> f32
pub unsafe fn isEmbedded(&self) -> bool
pub unsafe fn isStreaming(&self) -> bool
pub unsafe fn isFlipped(&self) -> bool
pub unsafe fn type_(&self) -> Leap_Device_Type
pub unsafe fn position(&self) -> Leap_Vector
pub unsafe fn orientation(&self) -> Leap_Matrix
pub unsafe fn isValid(&self) -> bool
pub unsafe fn invalid() -> *const Leap_Device
pub unsafe fn new(arg1: *mut Leap_DeviceImplementation) -> Self
pub unsafe fn new1() -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Leap_Device
impl RefUnwindSafe for Leap_Device
impl !Send for Leap_Device
impl !Sync for Leap_Device
impl Unpin for Leap_Device
impl UnwindSafe for Leap_Device
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