pub trait OpProdAPI<T, D>{
// Required methods
fn prod_all(&self, a: &Self::Raw, la: &Layout<D>) -> Result<T>;
fn prod(
&self,
a: &Self::Raw,
la: &Layout<D>,
axes: &[isize],
) -> Result<(Storage<DataOwned<Self::Raw>, T, Self>, Layout<IxD>)>;
}
Required Methods§
fn prod_all(&self, a: &Self::Raw, la: &Layout<D>) -> Result<T>
fn prod( &self, a: &Self::Raw, la: &Layout<D>, axes: &[isize], ) -> Result<(Storage<DataOwned<Self::Raw>, T, Self>, Layout<IxD>)>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.