pub struct FaceCaptureQuality {
pub bounding_box: BoundingBox,
pub confidence: f32,
pub capture_quality: Option<f32>,
}Available on crate feature
aesthetics only.Expand description
One face plus Apple’s portrait-quality score (0.0..=1.0,
higher = better candidate for “best moment” selection).
Fields§
§bounding_box: BoundingBox§confidence: f32§capture_quality: Option<f32>Some(0.0..=1.0) if Apple produced a score; None if the
face was detected but quality couldn’t be evaluated.
Trait Implementations§
Source§impl Clone for FaceCaptureQuality
impl Clone for FaceCaptureQuality
Source§fn clone(&self) -> FaceCaptureQuality
fn clone(&self) -> FaceCaptureQuality
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 moreSource§impl Debug for FaceCaptureQuality
impl Debug for FaceCaptureQuality
Source§impl PartialEq for FaceCaptureQuality
impl PartialEq for FaceCaptureQuality
Source§fn eq(&self, other: &FaceCaptureQuality) -> bool
fn eq(&self, other: &FaceCaptureQuality) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FaceCaptureQuality
impl StructuralPartialEq for FaceCaptureQuality
Auto Trait Implementations§
impl Freeze for FaceCaptureQuality
impl RefUnwindSafe for FaceCaptureQuality
impl Send for FaceCaptureQuality
impl Sync for FaceCaptureQuality
impl Unpin for FaceCaptureQuality
impl UnsafeUnpin for FaceCaptureQuality
impl UnwindSafe for FaceCaptureQuality
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