[][src]Trait cpp_core::cmp::Le

pub trait Le<Rhs: ?Sized = Self> {
    unsafe fn le(&self, other: &Rhs) -> bool;
}

Represents C++'s operator<=.

Required methods

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

This method tests less than or equal to (for self and other) and is used by the <=

Safety

The caller must make sure self and other contain valid pointers. This function may invoke arbitrary foreign code, so no safety guarantees can be made.

Loading content...

Implementors

Loading content...