Trait CmpOps

Source
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§

Source

fn eq(self, rhs: impl CmtAST) -> Self::Output

Source

fn ne(self, rhs: impl CmtAST) -> Self::Output

Source

fn lt(self, rhs: impl CmtAST) -> Self::Output

Source

fn le(self, rhs: impl CmtAST) -> Self::Output

Source

fn gt(self, rhs: impl CmtAST) -> Self::Output

Source

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.

Implementors§