Enum erg_compiler::ty::typaram::OpKind
source · #[repr(u8)]pub enum OpKind {
Show 25 variants
Add,
Sub,
Mul,
Div,
FloorDiv,
Pow,
Mod,
Pos,
Neg,
Invert,
Gt,
Lt,
Ge,
Le,
Eq,
Ne,
As,
And,
Or,
Not,
BitAnd,
BitOr,
BitXor,
Shl,
Shr,
}
Variants§
Add
Sub
Mul
Div
FloorDiv
Pow
Mod
Pos
Neg
Invert
Gt
Lt
Ge
Le
Eq
Ne
As
And
Or
Not
BitAnd
BitOr
BitXor
Shl
Shr
Implementations§
Trait Implementations§
source§impl PartialEq<OpKind> for OpKind
impl PartialEq<OpKind> for OpKind
impl Copy for OpKind
impl Eq for OpKind
impl StructuralEq for OpKind
impl StructuralPartialEq for OpKind
Auto Trait Implementations§
impl RefUnwindSafe for OpKind
impl Send for OpKind
impl Sync for OpKind
impl Unpin for OpKind
impl UnwindSafe for OpKind
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