Enum sway_core::parse_tree::OpVariant
source · [−]pub enum OpVariant {
Show 16 variants
Add,
Subtract,
Divide,
Multiply,
Modulo,
Or,
And,
Equals,
NotEquals,
Xor,
BinaryOr,
BinaryAnd,
GreaterThan,
LessThan,
GreaterThanOrEqualTo,
LessThanOrEqualTo,
}
Variants
Add
Subtract
Divide
Multiply
Modulo
Or
And
Equals
NotEquals
Xor
BinaryOr
BinaryAnd
GreaterThan
LessThan
GreaterThanOrEqualTo
LessThanOrEqualTo
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OpVariant
impl Send for OpVariant
impl Sync for OpVariant
impl Unpin for OpVariant
impl UnwindSafe for OpVariant
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more