pub enum LandmarkId {
Show 23 variants
TopOfHead,
ChinCenter,
C7Cervical,
T10Thoracic,
L4Lumbar,
AcromionLeft,
AcromionRight,
ElbowLeft,
ElbowRight,
WristLeft,
WristRight,
HipLeft,
HipRight,
KneeLeft,
KneeRight,
AnkleLeft,
AnkleRight,
NeckBase,
ChestCenter,
WaistCenter,
NabelCenter,
HeelLeft,
HeelRight,
}Expand description
Named anatomical landmark identifiers covering the major body sites.
Variants§
TopOfHead
ChinCenter
C7Cervical
7th cervical vertebra prominence.
T10Thoracic
10th thoracic vertebra.
L4Lumbar
4th lumbar vertebra.
AcromionLeft
AcromionRight
ElbowLeft
ElbowRight
WristLeft
WristRight
HipLeft
HipRight
KneeLeft
KneeRight
AnkleLeft
AnkleRight
NeckBase
ChestCenter
WaistCenter
NabelCenter
HeelLeft
HeelRight
Implementations§
Source§impl LandmarkId
impl LandmarkId
Sourcepub fn all() -> Vec<LandmarkId>
pub fn all() -> Vec<LandmarkId>
Returns all landmark variants in a stable order.
Sourcepub fn is_bilateral(&self) -> bool
pub fn is_bilateral(&self) -> bool
Returns true if this landmark has a left/right counterpart.
Sourcepub fn mirror(&self) -> Option<LandmarkId>
pub fn mirror(&self) -> Option<LandmarkId>
Returns the mirrored (opposite side) landmark, or None for midline landmarks.
Trait Implementations§
Source§impl Clone for LandmarkId
impl Clone for LandmarkId
Source§fn clone(&self) -> LandmarkId
fn clone(&self) -> LandmarkId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LandmarkId
impl Debug for LandmarkId
Source§impl Hash for LandmarkId
impl Hash for LandmarkId
Source§impl PartialEq for LandmarkId
impl PartialEq for LandmarkId
impl Eq for LandmarkId
impl StructuralPartialEq for LandmarkId
Auto Trait Implementations§
impl Freeze for LandmarkId
impl RefUnwindSafe for LandmarkId
impl Send for LandmarkId
impl Sync for LandmarkId
impl Unpin for LandmarkId
impl UnsafeUnpin for LandmarkId
impl UnwindSafe for LandmarkId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more