#[repr(C)]pub struct _VAMotionVector {
pub mv0: [i16; 2],
pub mv1: [i16; 2],
}Expand description
\brief Generic motion vector data structure.
Fields§
§mv0: [i16; 2]\brief Past reference
- \c [0]: horizontal motion vector for past reference
- \c [1]: vertical motion vector for past reference
mv1: [i16; 2]\brief Future reference
- \c [0]: horizontal motion vector for future reference
- \c [1]: vertical motion vector for future reference
Trait Implementations§
Source§impl Clone for _VAMotionVector
impl Clone for _VAMotionVector
Source§fn clone(&self) -> _VAMotionVector
fn clone(&self) -> _VAMotionVector
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 moreimpl Copy for _VAMotionVector
Source§impl Debug for _VAMotionVector
impl Debug for _VAMotionVector
Source§impl Default for _VAMotionVector
impl Default for _VAMotionVector
Source§fn default() -> _VAMotionVector
fn default() -> _VAMotionVector
Returns the “default value” for a type. Read more
impl Eq for _VAMotionVector
Source§impl PartialEq for _VAMotionVector
impl PartialEq for _VAMotionVector
Source§fn eq(&self, other: &_VAMotionVector) -> bool
fn eq(&self, other: &_VAMotionVector) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for _VAMotionVector
Auto Trait Implementations§
impl Freeze for _VAMotionVector
impl RefUnwindSafe for _VAMotionVector
impl Send for _VAMotionVector
impl Sync for _VAMotionVector
impl Unpin for _VAMotionVector
impl UnsafeUnpin for _VAMotionVector
impl UnwindSafe for _VAMotionVector
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