Struct cranelift_codegen::ir::immediates::Imm64 [−][src]
pub struct Imm64(_);
Expand description
64-bit immediate signed integer operand.
An Imm64 operand can also be used to represent immediate values of smaller integer types by
sign-extending to i64.
Implementations
impl Imm64[src]
impl Imm64[src]pub fn wrapping_neg(self) -> Self[src]
pub fn wrapping_neg(self) -> Self[src]Return self negated.
pub fn sign_extend_from_width(&mut self, bit_width: u16)[src]
pub fn sign_extend_from_width(&mut self, bit_width: u16)[src]Sign extend this immediate as if it were a signed integer of the given power-of-two width.
Trait Implementations
impl IntoBytes for Imm64[src]
impl IntoBytes for Imm64[src]fn into_bytes(self) -> Vec<u8>[src]
fn into_bytes(self) -> Vec<u8>[src]Return the little-endian byte representation of the implementing type.
impl Copy for Imm64[src]
impl Eq for Imm64[src]
impl StructuralEq for Imm64[src]
impl StructuralPartialEq for Imm64[src]
Auto Trait Implementations
impl RefUnwindSafe for Imm64
impl Send for Imm64
impl Sync for Imm64
impl Unpin for Imm64
impl UnwindSafe for Imm64
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
pub fn equivalent(&self, key: &K) -> bool[src]Compare self to key and return true if they are equal.
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more