[−][src]Trait cpp_core::cmp::Lt
Represents C++'s operator<
.
Required methods
unsafe fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator.
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.