pub struct InterChoice<'a> {Show 14 fields
pub src: &'a [u8],
pub src_stride: usize,
pub pos: BlockPos,
pub w: usize,
pub h: usize,
pub refs: &'a [InterRef<'a>],
pub mode_rates: &'a [u32; 4],
pub is_inter_rate: u32,
pub mv_cost: &'a MvCost,
pub allow_hp: bool,
pub filter: u8,
pub lambda: u32,
pub range: i32,
pub subpel: Subpel,
}Fields§
§src: &'a [u8]§src_stride: usize§pos: BlockPos§w: usize§h: usize§refs: &'a [InterRef<'a>]§mode_rates: &'a [u32; 4]§is_inter_rate: u32§mv_cost: &'a MvCost§allow_hp: bool§filter: u8§lambda: u32§range: i32§subpel: SubpelTrait Implementations§
Source§impl<'a> Clone for InterChoice<'a>
impl<'a> Clone for InterChoice<'a>
Source§fn clone(&self) -> InterChoice<'a>
fn clone(&self) -> InterChoice<'a>
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<'a> Copy for InterChoice<'a>
Auto Trait Implementations§
impl<'a> Freeze for InterChoice<'a>
impl<'a> RefUnwindSafe for InterChoice<'a>
impl<'a> Send for InterChoice<'a>
impl<'a> Sync for InterChoice<'a>
impl<'a> Unpin for InterChoice<'a>
impl<'a> UnsafeUnpin for InterChoice<'a>
impl<'a> UnwindSafe for InterChoice<'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
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