pub enum LandmarkName {
Show 19 variants
SacroiliacJoint,
SuprasternalNotch,
Nose,
LeftEar,
RightEar,
LeftShoulder,
RightShoulder,
LeftElbow,
RightElbow,
LeftWrist,
RightWrist,
LeftHip,
RightHip,
LeftKnee,
RightKnee,
LeftAnkle,
RightAnkle,
LeftFootIndex,
RightFootIndex,
}Expand description
A body landmark in a BodyLandmarkFrame.
Variants§
SacroiliacJoint
SuprasternalNotch
Nose
LeftEar
RightEar
LeftShoulder
RightShoulder
LeftElbow
RightElbow
LeftWrist
RightWrist
LeftHip
RightHip
LeftKnee
RightKnee
LeftAnkle
RightAnkle
LeftFootIndex
RightFootIndex
Implementations§
Source§impl LandmarkName
impl LandmarkName
Sourcepub const ALL: &'static [LandmarkName]
pub const ALL: &'static [LandmarkName]
Every variant, in wire order.
Sourcepub const fn from_index(index: usize) -> Option<LandmarkName>
pub const fn from_index(index: usize) -> Option<LandmarkName>
The variant at index in wire order, or None if out of range.
Trait Implementations§
Source§impl Clone for LandmarkName
impl Clone for LandmarkName
Source§fn clone(&self) -> LandmarkName
fn clone(&self) -> LandmarkName
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 LandmarkName
Source§impl Debug for LandmarkName
impl Debug for LandmarkName
impl Eq for LandmarkName
Source§impl Hash for LandmarkName
impl Hash for LandmarkName
Source§impl PartialEq for LandmarkName
impl PartialEq for LandmarkName
Source§fn eq(&self, other: &LandmarkName) -> bool
fn eq(&self, other: &LandmarkName) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LandmarkName
Auto Trait Implementations§
impl Freeze for LandmarkName
impl RefUnwindSafe for LandmarkName
impl Send for LandmarkName
impl Sync for LandmarkName
impl Unpin for LandmarkName
impl UnsafeUnpin for LandmarkName
impl UnwindSafe for LandmarkName
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