pub struct BiMotionVector {
pub forward: MotionVector,
pub backward: MotionVector,
pub mode: BPredMode,
}Expand description
Bi-directional motion vectors for B-slice macroblocks.
Fields§
§forward: MotionVectorMotion vector from past (forward) reference.
backward: MotionVectorMotion vector from future (backward) reference.
mode: BPredModePrediction mode for this macroblock.
Trait Implementations§
Source§impl Clone for BiMotionVector
impl Clone for BiMotionVector
Source§fn clone(&self) -> BiMotionVector
fn clone(&self) -> BiMotionVector
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 Debug for BiMotionVector
impl Debug for BiMotionVector
Source§impl Default for BiMotionVector
impl Default for BiMotionVector
Source§fn default() -> BiMotionVector
fn default() -> BiMotionVector
Returns the “default value” for a type. Read more
impl Copy for BiMotionVector
Auto Trait Implementations§
impl Freeze for BiMotionVector
impl RefUnwindSafe for BiMotionVector
impl Send for BiMotionVector
impl Sync for BiMotionVector
impl Unpin for BiMotionVector
impl UnsafeUnpin for BiMotionVector
impl UnwindSafe for BiMotionVector
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more