pub trait NDArrayBoolean<O>: NDArray + Sized{
type Output: Access<u8>;
// Required methods
fn and(
self,
other: O,
) -> Result<Array<u8, Self::Output, Self::Platform>, Error>;
fn or(
self,
other: O,
) -> Result<Array<u8, Self::Output, Self::Platform>, Error>;
fn xor(
self,
other: O,
) -> Result<Array<u8, Self::Output, Self::Platform>, Error>;
}Expand description
Boolean array operations
Required Associated Types§
Required Methods§
Sourcefn and(self, other: O) -> Result<Array<u8, Self::Output, Self::Platform>, Error>
fn and(self, other: O) -> Result<Array<u8, Self::Output, Self::Platform>, Error>
Construct a boolean and comparison with the other array.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".