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