pub trait OpAllCloseAPI<TA, TB, TE, D>:
DeviceAPI<TA>
+ DeviceAPI<TB>
+ DeviceAPI<bool>where
D: DimAPI,{
// Required methods
fn allclose_all(
&self,
a: &Self::Raw,
la: &Layout<D>,
b: &Self::Raw,
lb: &Layout<D>,
isclose_args: &IsCloseArgs<TE>,
) -> Result<bool, Error>;
fn allclose_axes(
&self,
a: &Self::Raw,
la: &Layout<D>,
b: &Self::Raw,
lb: &Layout<D>,
axes: &[isize],
isclose_args: &IsCloseArgs<TE>,
) -> Result<(Storage<DataOwned<Self::Raw>, bool, Self>, Layout<Vec<usize>>), Error>;
}Required Methods§
fn allclose_all( &self, a: &Self::Raw, la: &Layout<D>, b: &Self::Raw, lb: &Layout<D>, isclose_args: &IsCloseArgs<TE>, ) -> Result<bool, Error>
fn allclose_axes( &self, a: &Self::Raw, la: &Layout<D>, b: &Self::Raw, lb: &Layout<D>, axes: &[isize], isclose_args: &IsCloseArgs<TE>, ) -> Result<(Storage<DataOwned<Self::Raw>, bool, Self>, Layout<Vec<usize>>), Error>
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.