pub enum HandLandmarkName {
Show 21 variants
Wrist,
ThumbCmc,
ThumbMcp,
ThumbIp,
ThumbTip,
IndexMcp,
IndexPip,
IndexDip,
IndexTip,
MiddleMcp,
MiddlePip,
MiddleDip,
MiddleTip,
RingMcp,
RingPip,
RingDip,
RingTip,
PinkyMcp,
PinkyPip,
PinkyDip,
PinkyTip,
}Expand description
A hand landmark in a HandLandmarkFrame.
Variants§
Wrist
ThumbCmc
ThumbMcp
ThumbIp
ThumbTip
IndexMcp
IndexPip
IndexDip
IndexTip
MiddleMcp
MiddlePip
MiddleDip
MiddleTip
RingMcp
RingPip
RingDip
RingTip
PinkyMcp
PinkyPip
PinkyDip
PinkyTip
Implementations§
Source§impl HandLandmarkName
impl HandLandmarkName
Sourcepub const ALL: &'static [HandLandmarkName]
pub const ALL: &'static [HandLandmarkName]
Every variant, in wire order.
Sourcepub const fn from_index(index: usize) -> Option<HandLandmarkName>
pub const fn from_index(index: usize) -> Option<HandLandmarkName>
The variant at index in wire order, or None if out of range.
Trait Implementations§
Source§impl Clone for HandLandmarkName
impl Clone for HandLandmarkName
Source§fn clone(&self) -> HandLandmarkName
fn clone(&self) -> HandLandmarkName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HandLandmarkName
Source§impl Debug for HandLandmarkName
impl Debug for HandLandmarkName
impl Eq for HandLandmarkName
Source§impl Hash for HandLandmarkName
impl Hash for HandLandmarkName
Source§impl PartialEq for HandLandmarkName
impl PartialEq for HandLandmarkName
Source§fn eq(&self, other: &HandLandmarkName) -> bool
fn eq(&self, other: &HandLandmarkName) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HandLandmarkName
Auto Trait Implementations§
impl Freeze for HandLandmarkName
impl RefUnwindSafe for HandLandmarkName
impl Send for HandLandmarkName
impl Sync for HandLandmarkName
impl Unpin for HandLandmarkName
impl UnsafeUnpin for HandLandmarkName
impl UnwindSafe for HandLandmarkName
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