pub struct Contour {
pub points: Vec<LandmarkPoint>,
pub child_count: isize,
pub aspect_ratio: f32,
}Available on crate feature
contours only.Expand description
A single closed contour, represented as an ordered list of points in normalised image coordinates.
Fields§
§points: Vec<LandmarkPoint>Vertices in path order, normalised to 0.0..=1.0.
child_count: isizeNumber of child (nested) contours inside this one.
aspect_ratio: f32Bounding-box width / height of this contour.
Trait Implementations§
impl StructuralPartialEq for Contour
Auto Trait Implementations§
impl Freeze for Contour
impl RefUnwindSafe for Contour
impl Send for Contour
impl Sync for Contour
impl Unpin for Contour
impl UnsafeUnpin for Contour
impl UnwindSafe for Contour
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