pub struct MulOp;Expand description
Ordinary CPU entry points that take a caller-provided destination and the caller’s own arithmetic instead of the typed pool. Multiplication.
§Examples
use tenferro_internal_cpu_kernels::scalar_ops::{BinaryScalarOp, MulOp};
assert_eq!(<MulOp as BinaryScalarOp<f64>>::apply(3.0, 4.0), 12.0);Trait Implementations§
Source§impl<T> BinaryScalarOp<T> for MulOpwhere
T: ScalarArithmetic,
impl<T> BinaryScalarOp<T> for MulOpwhere
T: ScalarArithmetic,
Auto Trait Implementations§
impl Freeze for MulOp
impl RefUnwindSafe for MulOp
impl Send for MulOp
impl Sync for MulOp
impl Unpin for MulOp
impl UnsafeUnpin for MulOp
impl UnwindSafe for MulOp
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
impl<T, U> Imply<T> for U
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