pub enum BinOp_ {
Show 21 variants
Add,
Sub,
Mul,
Mod,
Div,
BitOr,
BitAnd,
Xor,
Shl,
Shr,
Range,
Implies,
Iff,
And,
Or,
Eq,
Neq,
Lt,
Gt,
Le,
Ge,
}
Variants§
Implementations§
source§impl BinOp_
impl BinOp_
pub const ADD: &'static str = "+"
pub const SUB: &'static str = "-"
pub const MUL: &'static str = "*"
pub const MOD: &'static str = "%"
pub const DIV: &'static str = "/"
pub const BIT_OR: &'static str = "|"
pub const BIT_AND: &'static str = "&"
pub const XOR: &'static str = "^"
pub const SHL: &'static str = "<<"
pub const SHR: &'static str = ">>"
pub const AND: &'static str = "&&"
pub const OR: &'static str = "||"
pub const EQ: &'static str = "=="
pub const NEQ: &'static str = "!="
pub const LT: &'static str = "<"
pub const GT: &'static str = ">"
pub const LE: &'static str = "<="
pub const GE: &'static str = ">="
pub const IMPLIES: &'static str = "==>"
pub const IFF: &'static str = "<==>"
pub const RANGE: &'static str = ".."
pub fn symbol(&self) -> &'static str
pub fn is_pure(&self) -> bool
pub fn is_spec_only(&self) -> bool
Trait Implementations§
source§impl PartialEq<BinOp_> for BinOp_
impl PartialEq<BinOp_> for BinOp_
impl Copy for BinOp_
impl Eq for BinOp_
impl StructuralEq for BinOp_
impl StructuralPartialEq for BinOp_
Auto Trait Implementations§
impl RefUnwindSafe for BinOp_
impl Send for BinOp_
impl Sync for BinOp_
impl Unpin for BinOp_
impl UnwindSafe for BinOp_
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.