pub struct DetectBoxView<'a> {
pub center_x: f32,
pub center_y: f32,
pub width: f32,
pub height: f32,
pub label: &'a str,
pub score: f32,
pub distance: f32,
pub speed: f32,
pub track_id: &'a str,
pub track_lifetime: i32,
pub track_created: Time,
}Expand description
Zero-copy view of a Box element within a CDR sequence.
Fields§
§center_x: f32§center_y: f32§width: f32§height: f32§label: &'a str§score: f32§distance: f32§speed: f32§track_id: &'a str§track_lifetime: i32§track_created: TimeTrait Implementations§
Source§impl<'a> Clone for DetectBoxView<'a>
impl<'a> Clone for DetectBoxView<'a>
Source§fn clone(&self) -> DetectBoxView<'a>
fn clone(&self) -> DetectBoxView<'a>
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<'a> Debug for DetectBoxView<'a>
impl<'a> Debug for DetectBoxView<'a>
impl<'a> Copy for DetectBoxView<'a>
Auto Trait Implementations§
impl<'a> Freeze for DetectBoxView<'a>
impl<'a> RefUnwindSafe for DetectBoxView<'a>
impl<'a> Send for DetectBoxView<'a>
impl<'a> Sync for DetectBoxView<'a>
impl<'a> Unpin for DetectBoxView<'a>
impl<'a> UnsafeUnpin for DetectBoxView<'a>
impl<'a> UnwindSafe for DetectBoxView<'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