#[repr(transparent)]pub struct QarHandedness(pub c_int);Expand description
@brief Left or right.
Says which of a peer’s two hands a gesture came from, and the handedness of a geo anchor frame’s axes (right-handed: axis_x_world x axis_y_world = axis_z_world).
QAR_HANDEDNESS_UNSPECIFIED is the zero value, so a zero-initialized struct never claims a side by accident. A gesture made with both hands together reports it; a QarGeoAnchorFrame carrying it is rejected with QAR_STATUS_ARGUMENT_NOT_SUPPORTED.
Tuple Fields§
§0: c_intImplementations§
Source§impl QarHandedness
impl QarHandedness
pub const QAR_HANDEDNESS_UNSPECIFIED: QarHandedness
pub const QAR_HANDEDNESS_LEFT: QarHandedness
pub const QAR_HANDEDNESS_RIGHT: QarHandedness
Trait Implementations§
Source§impl Clone for QarHandedness
impl Clone for QarHandedness
impl Copy for QarHandedness
Source§impl Debug for QarHandedness
impl Debug for QarHandedness
impl Eq for QarHandedness
Source§impl Hash for QarHandedness
impl Hash for QarHandedness
Source§impl PartialEq for QarHandedness
impl PartialEq for QarHandedness
impl StructuralPartialEq for QarHandedness
Auto Trait Implementations§
impl Freeze for QarHandedness
impl RefUnwindSafe for QarHandedness
impl Send for QarHandedness
impl Sync for QarHandedness
impl Unpin for QarHandedness
impl UnsafeUnpin for QarHandedness
impl UnwindSafe for QarHandedness
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