pub struct Keypoint {
pub x: f64,
pub y: f64,
pub visibility: u8,
}Expand description
A keypoint in pixel-edge coordinates, with COCO visibility (0, 1 or 2).
Fields§
§x: f64Horizontal coordinate.
y: f64Vertical coordinate.
visibility: u8Zero means absent; one means labeled and two visible.
Trait Implementations§
impl Copy for Keypoint
impl StructuralPartialEq for Keypoint
Auto Trait Implementations§
impl Forget for Keypoint
impl Freeze for Keypoint
impl RefUnwindSafe for Keypoint
impl Send for Keypoint
impl Sync for Keypoint
impl Unpin for Keypoint
impl UnsafeUnpin for Keypoint
impl UnwindSafe for Keypoint
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