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.