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