pub trait BlendOps<Scalar: Clone + EachBlend, const MAX_RANK: usize>: TensorRef<Scalar, MAX_RANK>{
// Provided method
fn try_sub_tensor(
&self,
other: &(impl TensorRef<Scalar, MAX_RANK> + ?Sized),
) -> Result<Tensor<Scalar, Global, MAX_RANK>, TensorError> { ... }
}Expand description
Extension trait: element-wise subtraction for any TensorRef implementor.
Provided Methods§
fn try_sub_tensor( &self, other: &(impl TensorRef<Scalar, MAX_RANK> + ?Sized), ) -> Result<Tensor<Scalar, Global, MAX_RANK>, TensorError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".