Struct cranelift_codegen::ir::immediates::Uimm64 [−][src]
64-bit immediate unsigned integer operand.
A Uimm64
operand can also be used to represent immediate values of smaller integer types by
zero-extending to i64
.
Implementations
impl Uimm64
[src]
pub fn new(x: u64) -> Self
[src]
Create a new Uimm64
representing the unsigned number x
.
pub fn wrapping_neg(self) -> Self
[src]
Return self negated.
Trait Implementations
impl Clone for Uimm64
[src]
impl Copy for Uimm64
[src]
impl Debug for Uimm64
[src]
impl Display for Uimm64
[src]
impl Eq for Uimm64
[src]
impl From<u64> for Uimm64
[src]
impl FromStr for Uimm64
[src]
type Err = &'static str
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, &'static str>
[src]
impl Hash for Uimm64
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<u64> for Uimm64
[src]
impl PartialEq<Uimm64> for Uimm64
[src]
impl StructuralEq for Uimm64
[src]
impl StructuralPartialEq for Uimm64
[src]
Auto Trait Implementations
impl RefUnwindSafe for Uimm64
impl Send for Uimm64
impl Sync for Uimm64
impl Unpin for Uimm64
impl UnwindSafe for Uimm64
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CallHasher for T where
T: Hash,
[src]
T: Hash,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,