pub trait CmpOps {
type Output;
// Required methods
fn eq(self, rhs: impl CmtAST) -> Self::Output;
fn ne(self, rhs: impl CmtAST) -> Self::Output;
fn lt(self, rhs: impl CmtAST) -> Self::Output;
fn le(self, rhs: impl CmtAST) -> Self::Output;
fn gt(self, rhs: impl CmtAST) -> Self::Output;
fn ge(self, rhs: impl CmtAST) -> Self::Output;
}Required Associated Types§
Required Methods§
fn eq(self, rhs: impl CmtAST) -> Self::Output
fn ne(self, rhs: impl CmtAST) -> Self::Output
fn lt(self, rhs: impl CmtAST) -> Self::Output
fn le(self, rhs: impl CmtAST) -> Self::Output
fn gt(self, rhs: impl CmtAST) -> Self::Output
fn ge(self, rhs: impl CmtAST) -> Self::Output
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.