pub struct Detection {
pub width: u32,
pub height: u32,
pub analysis_width: u32,
pub analysis_height: u32,
pub motions: Vec<Motion>,
}Expand description
What detect found: per output frame, the motion from it to the previous frame in source
pixels (motions[0] is the identity).
Fields§
§width: u32§height: u32§analysis_width: u32§analysis_height: u32§motions: Vec<Motion>Trait Implementations§
impl StructuralPartialEq for Detection
Auto Trait Implementations§
impl Forget for Detection
impl Freeze for Detection
impl RefUnwindSafe for Detection
impl Send for Detection
impl Sync for Detection
impl Unpin for Detection
impl UnsafeUnpin for Detection
impl UnwindSafe for Detection
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