pub struct OpticalFlowFrame {
pub width: usize,
pub height: usize,
pub bytes_per_row: usize,
pub bytes: Vec<u8>,
}Available on crate feature
tracking only.Expand description
Raw optical-flow pixel buffer copied out of Vision.
Fields§
§width: usize§height: usize§bytes_per_row: usize§bytes: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for OpticalFlowFrame
impl Clone for OpticalFlowFrame
Source§fn clone(&self) -> OpticalFlowFrame
fn clone(&self) -> OpticalFlowFrame
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 moreSource§impl Debug for OpticalFlowFrame
impl Debug for OpticalFlowFrame
Source§impl PartialEq for OpticalFlowFrame
impl PartialEq for OpticalFlowFrame
Source§fn eq(&self, other: &OpticalFlowFrame) -> bool
fn eq(&self, other: &OpticalFlowFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OpticalFlowFrame
impl StructuralPartialEq for OpticalFlowFrame
Auto Trait Implementations§
impl Freeze for OpticalFlowFrame
impl RefUnwindSafe for OpticalFlowFrame
impl Send for OpticalFlowFrame
impl Sync for OpticalFlowFrame
impl Unpin for OpticalFlowFrame
impl UnsafeUnpin for OpticalFlowFrame
impl UnwindSafe for OpticalFlowFrame
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