#[repr(C)]pub struct Leap_Screen {
pub _base: Leap_Interface,
}
Fields§
§_base: Leap_Interface
Implementations§
Source§impl Leap_Screen
impl Leap_Screen
pub unsafe fn id(&self) -> i32
pub unsafe fn intersect( &self, pointable: *const Leap_Pointable, normalize: bool, clampRatio: f32, ) -> Leap_Vector
pub unsafe fn intersect1( &self, position: *const Leap_Vector, direction: *const Leap_Vector, normalize: bool, clampRatio: f32, ) -> Leap_Vector
pub unsafe fn project( &self, position: *const Leap_Vector, normalize: bool, clampRatio: f32, ) -> Leap_Vector
pub unsafe fn horizontalAxis(&self) -> Leap_Vector
pub unsafe fn verticalAxis(&self) -> Leap_Vector
pub unsafe fn bottomLeftCorner(&self) -> Leap_Vector
pub unsafe fn normal(&self) -> Leap_Vector
pub unsafe fn widthPixels(&self) -> c_int
pub unsafe fn heightPixels(&self) -> c_int
pub unsafe fn distanceToPoint(&self, point: *const Leap_Vector) -> f32
pub unsafe fn isValid(&self) -> bool
pub unsafe fn invalid() -> *const Leap_Screen
pub unsafe fn new(arg1: *mut Leap_ScreenImplementation) -> Self
pub unsafe fn new1() -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Leap_Screen
impl RefUnwindSafe for Leap_Screen
impl !Send for Leap_Screen
impl !Sync for Leap_Screen
impl Unpin for Leap_Screen
impl UnwindSafe for Leap_Screen
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