#[repr(transparent)]pub struct CompareOp(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
source§impl Ord for CompareOp
impl Ord for CompareOp
source§impl PartialEq for CompareOp
impl PartialEq for CompareOp
source§impl PartialOrd for CompareOp
impl PartialOrd for CompareOp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CompareOp
impl Eq for CompareOp
impl StructuralPartialEq for CompareOp
Auto Trait Implementations§
impl Freeze for CompareOp
impl RefUnwindSafe for CompareOp
impl Send for CompareOp
impl Sync for CompareOp
impl Unpin for CompareOp
impl UnwindSafe for CompareOp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more