pub trait ElementwiseScalarCompare<A, T>: PlatformInstance {
type Op: ReadOp<Self, u8>;
// Required methods
fn eq_scalar(
self,
left: A,
right: T,
) -> Result<AccessOp<Self::Op, Self>, Error>;
fn ge_scalar(
self,
left: A,
right: T,
) -> Result<AccessOp<Self::Op, Self>, Error>;
fn gt_scalar(
self,
left: A,
right: T,
) -> Result<AccessOp<Self::Op, Self>, Error>;
fn le_scalar(
self,
left: A,
right: T,
) -> Result<AccessOp<Self::Op, Self>, Error>;
fn lt_scalar(
self,
left: A,
right: T,
) -> Result<AccessOp<Self::Op, Self>, Error>;
fn ne_scalar(
self,
left: A,
right: T,
) -> Result<AccessOp<Self::Op, Self>, Error>;
}
Required Associated Types§
Required Methods§
fn eq_scalar(self, left: A, right: T) -> Result<AccessOp<Self::Op, Self>, Error>
fn ge_scalar(self, left: A, right: T) -> Result<AccessOp<Self::Op, Self>, Error>
fn gt_scalar(self, left: A, right: T) -> Result<AccessOp<Self::Op, Self>, Error>
fn le_scalar(self, left: A, right: T) -> Result<AccessOp<Self::Op, Self>, Error>
fn lt_scalar(self, left: A, right: T) -> Result<AccessOp<Self::Op, Self>, Error>
fn ne_scalar(self, left: A, right: T) -> 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.