pub trait ElementwiseCompare<L, R, T>: PlatformInstance {
type Op: ReadOp<Self, u8>;
// Required methods
fn eq(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, Error>;
fn ge(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, Error>;
fn gt(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, Error>;
fn le(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, Error>;
fn lt(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, Error>;
fn ne(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, Error>;
}Required Associated Types§
Required Methods§
fn eq(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, Error>
fn ge(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, Error>
fn gt(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, Error>
fn le(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, Error>
fn lt(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, Error>
fn ne(self, left: L, right: R) -> Result<AccessOp<Self::Op, Self>, 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.
Implementors§
Source§impl<L, R, T> ElementwiseCompare<L, R, T> for Platform
Available on non-crate feature opencl only.
impl<L, R, T> ElementwiseCompare<L, R, T> for Platform
Available on non-crate feature
opencl only.