struct RotateSubAvg;Trait Implementations§
Source§impl<T: TxOperations> RotateKernel<T> for RotateSubAvg
impl<T: TxOperations> RotateKernel<T> for RotateSubAvg
const ADD: fn(T, T) -> T = T::sub_avg
const SUB: fn(T, T) -> T = T::add
const SHIFT: fn(T) -> T = T::copy_fn
fn half_kernel<const SHIFT0: i32, const SHIFT1: i32, const SHIFT2: i32>( p0: (T, T), p1: T, m: (i32, i32, i32), ) -> (T, T)
fn kernel<const SHIFT0: i32, const SHIFT1: i32, const SHIFT2: i32>( p0: T, p1: T, m: (i32, i32, i32), ) -> (T, T)
Auto Trait Implementations§
impl Freeze for RotateSubAvg
impl RefUnwindSafe for RotateSubAvg
impl Send for RotateSubAvg
impl Sync for RotateSubAvg
impl Unpin for RotateSubAvg
impl UnsafeUnpin for RotateSubAvg
impl UnwindSafe for RotateSubAvg
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> 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