pub trait NDArrayWhere<T, L, R>: NDArray<DType = u8> + Debugwhere
T: Number,{
type Output: Access<T>;
// Required method
fn cond(
self,
then: L,
or_else: R,
) -> Result<Array<T, Self::Output, Self::Platform>, Error>;
}Expand description
Conditional selection (boolean logic) methods
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".