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
None
No extension, high bits are indeterminate.
Uext
Unsigned extension: high bits in register are 0.
Sext
Signed extension: high bits in register replicate sign bit.
Trait Implementations
impl Copy for ArgumentExtension
[src]
impl Copy for ArgumentExtension
impl Clone for ArgumentExtension
[src]
impl Clone for ArgumentExtension
fn clone(&self) -> ArgumentExtension
[src]
fn clone(&self) -> ArgumentExtension
Returns 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 ArgumentExtension
fn eq(&self, other: &ArgumentExtension) -> bool
[src]
fn eq(&self, other: &ArgumentExtension) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ArgumentExtension
[src]
impl Eq for ArgumentExtension
impl Debug for ArgumentExtension
[src]
impl Debug for ArgumentExtension
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for ArgumentExtension
[src]
impl Hash for ArgumentExtension
Auto Trait Implementations
impl Send for ArgumentExtension
impl Send for ArgumentExtension
impl Sync for ArgumentExtension
impl Sync for ArgumentExtension