pub struct SalientRegion {
pub confidence: f32,
pub bounding_box: BoundingBox,
}Available on crate feature
saliency only.Expand description
One salient region in the input image.
Fields§
§confidence: f32Confidence in 0.0..=1.0.
bounding_box: BoundingBoxNormalised bounding box (origin at bottom-left, Vision convention).
Trait Implementations§
Source§impl Clone for SalientRegion
impl Clone for SalientRegion
Source§fn clone(&self) -> SalientRegion
fn clone(&self) -> SalientRegion
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 SalientRegion
impl Debug for SalientRegion
Source§impl PartialEq for SalientRegion
impl PartialEq for SalientRegion
Source§fn eq(&self, other: &SalientRegion) -> bool
fn eq(&self, other: &SalientRegion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SalientRegion
Auto Trait Implementations§
impl Freeze for SalientRegion
impl RefUnwindSafe for SalientRegion
impl Send for SalientRegion
impl Sync for SalientRegion
impl Unpin for SalientRegion
impl UnsafeUnpin for SalientRegion
impl UnwindSafe for SalientRegion
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