pub struct ObjectDetection {
pub bbox: BBox,
pub label: u32,
pub confidence: f32,
}Expand description
A detected object: its box, class label index, and confidence [0, 1].
Fields§
§bbox: BBox§label: u32§confidence: f32Trait Implementations§
Source§impl Clone for ObjectDetection
impl Clone for ObjectDetection
Source§fn clone(&self) -> ObjectDetection
fn clone(&self) -> ObjectDetection
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 moreimpl Copy for ObjectDetection
Source§impl Debug for ObjectDetection
impl Debug for ObjectDetection
Source§impl PartialEq for ObjectDetection
impl PartialEq for ObjectDetection
impl StructuralPartialEq for ObjectDetection
Auto Trait Implementations§
impl Freeze for ObjectDetection
impl RefUnwindSafe for ObjectDetection
impl Send for ObjectDetection
impl Sync for ObjectDetection
impl Unpin for ObjectDetection
impl UnsafeUnpin for ObjectDetection
impl UnwindSafe for ObjectDetection
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