Trait Le
cpp_core::cmp
pub trait Le<Rhs: ?Sized = Self> { fn le(&self, other: &Rhs) -> bool; }
Represents C++'s operator<=.
operator<=
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
self
other
<=