Enum sway_ir::instruction::BinaryOpKind
source · pub enum BinaryOpKind {
Add,
Sub,
Mul,
Div,
}
Variants
Add
Sub
Mul
Div
Trait Implementations
sourceimpl Clone for BinaryOpKind
impl Clone for BinaryOpKind
sourcefn clone(&self) -> BinaryOpKind
fn clone(&self) -> BinaryOpKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BinaryOpKind
impl Debug for BinaryOpKind
impl Copy for BinaryOpKind
Auto Trait Implementations
impl RefUnwindSafe for BinaryOpKind
impl Send for BinaryOpKind
impl Sync for BinaryOpKind
impl Unpin for BinaryOpKind
impl UnwindSafe for BinaryOpKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more