Enum cranelift_codegen::ir::ArgumentExtension [−][src]
pub enum ArgumentExtension {
None,
Uext,
Sext,
}Function argument extension options.
On some architectures, small integer function arguments are extended to the width of a general-purpose register.
Variants
NoneNo extension, high bits are indeterminate.
UextUnsigned extension: high bits in register are 0.
SextSigned extension: high bits in register replicate sign bit.
Trait Implementations
impl Copy for ArgumentExtension[src]
impl Copy for ArgumentExtensionimpl Clone for ArgumentExtension[src]
impl Clone for ArgumentExtensionfn clone(&self) -> ArgumentExtension[src]
fn clone(&self) -> ArgumentExtensionReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for ArgumentExtension[src]
impl PartialEq for ArgumentExtensionfn eq(&self, other: &ArgumentExtension) -> bool[src]
fn eq(&self, other: &ArgumentExtension) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for ArgumentExtension[src]
impl Eq for ArgumentExtensionimpl Debug for ArgumentExtension[src]
impl Debug for ArgumentExtensionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for ArgumentExtension[src]
impl Hash for ArgumentExtensionAuto Trait Implementations
impl Send for ArgumentExtension
impl Send for ArgumentExtensionimpl Sync for ArgumentExtension
impl Sync for ArgumentExtension