pub struct Landmark {
pub id: LandmarkId,
pub position: [f32; 3],
pub confidence: f32,
pub vertex_index: Option<u32>,
}Expand description
A single detected anatomical landmark on a mesh.
Fields§
§id: LandmarkIdSemantic identifier.
position: [f32; 3]World-space position [x, y, z].
confidence: f32Detection confidence in 0..=1.
vertex_index: Option<u32>Index of the nearest mesh vertex, if known.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Landmark
impl RefUnwindSafe for Landmark
impl Send for Landmark
impl Sync for Landmark
impl Unpin for Landmark
impl UnsafeUnpin for Landmark
impl UnwindSafe for Landmark
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