pub struct RecognizedAnimal {
pub identifier: String,
pub confidence: f32,
pub bounding_box: BoundingBox,
}Available on crate feature
animals only.Expand description
One detected animal.
Fields§
§identifier: StringApple’s identifier string — e.g. "Dog", "Cat".
confidence: f32§bounding_box: BoundingBoxTrait Implementations§
Source§impl Clone for RecognizedAnimal
impl Clone for RecognizedAnimal
Source§fn clone(&self) -> RecognizedAnimal
fn clone(&self) -> RecognizedAnimal
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 RecognizedAnimal
impl Debug for RecognizedAnimal
Source§impl PartialEq for RecognizedAnimal
impl PartialEq for RecognizedAnimal
Source§fn eq(&self, other: &RecognizedAnimal) -> bool
fn eq(&self, other: &RecognizedAnimal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecognizedAnimal
Auto Trait Implementations§
impl Freeze for RecognizedAnimal
impl RefUnwindSafe for RecognizedAnimal
impl Send for RecognizedAnimal
impl Sync for RecognizedAnimal
impl Unpin for RecognizedAnimal
impl UnsafeUnpin for RecognizedAnimal
impl UnwindSafe for RecognizedAnimal
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