Trait Gt

Source
pub trait Gt<Rhs: ?Sized = Self> {
    // Required method
    fn gt(&self, other: &Rhs) -> bool;
}
Expand description

Represents C++’s operator>.

Required Methods§

Source

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator.

Implementors§