pub struct AssignScratch<'a> {
pub candidates: &'a mut [MatchCandidate],
pub track_used: &'a mut [bool],
pub detection_used: &'a mut [bool],
}Expand description
Scratch buffers required by greedy_iou_assign.
Fields§
§candidates: &'a mut [MatchCandidate]Candidate pair storage (tracks * detections worst case).
track_used: &'a mut [bool]Per-track used flags (track_boxes.len()).
detection_used: &'a mut [bool]Per-detection used flags (detection_boxes.len()).
Auto Trait Implementations§
impl<'a> !UnwindSafe for AssignScratch<'a>
impl<'a> Freeze for AssignScratch<'a>
impl<'a> RefUnwindSafe for AssignScratch<'a>
impl<'a> Send for AssignScratch<'a>
impl<'a> Sync for AssignScratch<'a>
impl<'a> Unpin for AssignScratch<'a>
impl<'a> UnsafeUnpin for AssignScratch<'a>
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