pub trait OpSumBoolAPI<D>{
// Required methods
fn sum_all(
&self,
a: &<Self as DeviceRawAPI<bool>>::Raw,
la: &Layout<D>,
) -> Result<usize>;
fn sum_axes(
&self,
a: &<Self as DeviceRawAPI<bool>>::Raw,
la: &Layout<D>,
axes: &[isize],
) -> Result<(Storage<DataOwned<<Self as DeviceRawAPI<usize>>::Raw>, usize, Self>, Layout<IxD>)>;
}Required Methods§
fn sum_all( &self, a: &<Self as DeviceRawAPI<bool>>::Raw, la: &Layout<D>, ) -> Result<usize>
fn sum_axes( &self, a: &<Self as DeviceRawAPI<bool>>::Raw, la: &Layout<D>, axes: &[isize], ) -> Result<(Storage<DataOwned<<Self as DeviceRawAPI<usize>>::Raw>, usize, 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.