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