#[non_exhaustive]pub struct ComparedSourceImageFaceBuilder { /* private fields */ }Expand description
A builder for ComparedSourceImageFace.
Implementations§
source§impl ComparedSourceImageFaceBuilder
impl ComparedSourceImageFaceBuilder
sourcepub fn bounding_box(self, input: BoundingBox) -> Self
pub fn bounding_box(self, input: BoundingBox) -> Self
Bounding box of the face.
sourcepub fn set_bounding_box(self, input: Option<BoundingBox>) -> Self
pub fn set_bounding_box(self, input: Option<BoundingBox>) -> Self
Bounding box of the face.
sourcepub fn get_bounding_box(&self) -> &Option<BoundingBox>
pub fn get_bounding_box(&self) -> &Option<BoundingBox>
Bounding box of the face.
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
Confidence level that the selected bounding box contains a face.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
Confidence level that the selected bounding box contains a face.
sourcepub fn get_confidence(&self) -> &Option<f32>
pub fn get_confidence(&self) -> &Option<f32>
Confidence level that the selected bounding box contains a face.
sourcepub fn build(self) -> ComparedSourceImageFace
pub fn build(self) -> ComparedSourceImageFace
Consumes the builder and constructs a ComparedSourceImageFace.
Trait Implementations§
source§impl Clone for ComparedSourceImageFaceBuilder
impl Clone for ComparedSourceImageFaceBuilder
source§fn clone(&self) -> ComparedSourceImageFaceBuilder
fn clone(&self) -> ComparedSourceImageFaceBuilder
Returns a copy 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 Default for ComparedSourceImageFaceBuilder
impl Default for ComparedSourceImageFaceBuilder
source§fn default() -> ComparedSourceImageFaceBuilder
fn default() -> ComparedSourceImageFaceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ComparedSourceImageFaceBuilder
impl PartialEq for ComparedSourceImageFaceBuilder
source§fn eq(&self, other: &ComparedSourceImageFaceBuilder) -> bool
fn eq(&self, other: &ComparedSourceImageFaceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ComparedSourceImageFaceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ComparedSourceImageFaceBuilder
impl Send for ComparedSourceImageFaceBuilder
impl Sync for ComparedSourceImageFaceBuilder
impl Unpin for ComparedSourceImageFaceBuilder
impl UnwindSafe for ComparedSourceImageFaceBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.