pub struct DetectionSet {
pub detections: Vec<Detection>,
}Expand description
All detections for one frame.
This is the authoritative set for a frame at any point in the pipeline.
When a stage returns Some(DetectionSet) in its StageOutput,
it replaces the accumulator’s detection set entirely.
Fields§
§detections: Vec<Detection>The detections in this set.
Implementations§
Trait Implementations§
Source§impl Clone for DetectionSet
impl Clone for DetectionSet
Source§fn clone(&self) -> DetectionSet
fn clone(&self) -> DetectionSet
Returns a duplicate 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 Debug for DetectionSet
impl Debug for DetectionSet
Source§impl Default for DetectionSet
impl Default for DetectionSet
Source§fn default() -> DetectionSet
fn default() -> DetectionSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DetectionSet
impl !RefUnwindSafe for DetectionSet
impl Send for DetectionSet
impl Sync for DetectionSet
impl Unpin for DetectionSet
impl UnsafeUnpin for DetectionSet
impl !UnwindSafe for DetectionSet
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