Struct cranelift_codegen::ir::immediates::Imm64 [−][src]
pub struct Imm64(_);
64-bit immediate integer operand.
An Imm64 operand can also be used to represent immediate values of smaller integer types by
sign-extending to i64.
Methods
impl Imm64[src]
impl Imm64pub fn new(x: i64) -> Self[src]
pub fn new(x: i64) -> SelfCreate a new Imm64 representing the signed number x.
pub fn wrapping_neg(self) -> Self[src]
pub fn wrapping_neg(self) -> SelfReturn self negated.
Trait Implementations
impl Copy for Imm64[src]
impl Copy for Imm64impl Clone for Imm64[src]
impl Clone for Imm64fn clone(&self) -> Imm64[src]
fn clone(&self) -> Imm64Returns 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 Imm64[src]
impl PartialEq for Imm64fn eq(&self, other: &Imm64) -> bool[src]
fn eq(&self, other: &Imm64) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Imm64) -> bool[src]
fn ne(&self, other: &Imm64) -> boolThis method tests for !=.
impl Eq for Imm64[src]
impl Eq for Imm64impl Debug for Imm64[src]
impl Debug for Imm64fn 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 Imm64[src]
impl Hash for Imm64fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Into<i64> for Imm64[src]
impl Into<i64> for Imm64impl From<i64> for Imm64[src]
impl From<i64> for Imm64impl Display for Imm64[src]
impl Display for Imm64fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl FromStr for Imm64[src]
impl FromStr for Imm64