struct RotateAddAvg;Trait Implementations§
Source§impl<T: TxOperations> RotateKernel<T> for RotateAddAvg
impl<T: TxOperations> RotateKernel<T> for RotateAddAvg
const ADD: fn(T, T) -> T = T::add_avg
const SUB: fn(T, T) -> T = T::sub
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 RotateAddAvg
impl RefUnwindSafe for RotateAddAvg
impl Send for RotateAddAvg
impl Sync for RotateAddAvg
impl Unpin for RotateAddAvg
impl UnsafeUnpin for RotateAddAvg
impl UnwindSafe for RotateAddAvg
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