pub enum SignExtension {
Signed,
Unsigned,
}Expand description
Some integer instructions come in two flavors, where a signedness annotation sx distinguishes whether the operands are to be interpreted as unsigned or signed integers. For the other integer instructions, the use of two’s complement for the signed interpretation means that they behave the same regardless of signedness.
See https://webassembly.github.io/spec/core/syntax/instructions.html#numeric-instructions
Variants§
Trait Implementations§
Source§impl Clone for SignExtension
impl Clone for SignExtension
Source§fn clone(&self) -> SignExtension
fn clone(&self) -> SignExtension
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignExtension
impl Debug for SignExtension
Source§impl PartialEq for SignExtension
impl PartialEq for SignExtension
impl Copy for SignExtension
impl Eq for SignExtension
impl StructuralPartialEq for SignExtension
Auto Trait Implementations§
impl Freeze for SignExtension
impl RefUnwindSafe for SignExtension
impl Send for SignExtension
impl Sync for SignExtension
impl Unpin for SignExtension
impl UnwindSafe for SignExtension
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