Enum spacetimedb_lib::operator::OpCmp
source · pub enum OpCmp {
Eq,
NotEq,
Lt,
LtEq,
Gt,
GtEq,
}Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for OpCmp
impl<'de> Deserialize<'de> for OpCmp
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
source§impl Ord for OpCmp
impl Ord for OpCmp
source§impl PartialEq<OpCmp> for OpCmp
impl PartialEq<OpCmp> for OpCmp
source§impl PartialOrd<OpCmp> for OpCmp
impl PartialOrd<OpCmp> for OpCmp
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 OpCmp
impl Eq for OpCmp
impl StructuralEq for OpCmp
impl StructuralPartialEq for OpCmp
Auto Trait Implementations§
impl RefUnwindSafe for OpCmp
impl Send for OpCmp
impl Sync for OpCmp
impl Unpin for OpCmp
impl UnwindSafe for OpCmp
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