Struct cranelift_codegen::ir::immediates::V128Imm [−][src]
A 128-bit immediate operand.
This is used as an immediate value in SIMD instructions.
Implementations
impl V128Imm
[src][−]
pub fn bytes(&self) -> impl Iterator<Item = &u8>
[src][−]
Iterate over the bytes in the constant.
pub fn to_vec(self) -> Vec<u8>
[src][−]
Convert the immediate into a vector.
pub fn as_slice(&self) -> &[u8]
[src][−]
Convert the immediate into a slice.
Trait Implementations
impl Clone for V128Imm
[src][+]
impl Copy for V128Imm
[src]
impl Debug for V128Imm
[src][+]
impl<'de> Deserialize<'de> for V128Imm
[src][+]
impl Eq for V128Imm
[src]
impl From<&'_ [u8]> for V128Imm
[src][+]
impl From<V128Imm> for ConstantData
[src][+]
impl Hash for V128Imm
[src][+]
impl PartialEq<V128Imm> for V128Imm
[src][+]
impl Serialize for V128Imm
[src][+]
impl StructuralEq for V128Imm
[src]
impl StructuralPartialEq for V128Imm
[src]
Auto Trait Implementations
impl RefUnwindSafe for V128Imm
impl Send for V128Imm
impl Sync for V128Imm
impl Unpin for V128Imm
impl UnwindSafe for V128Imm
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,
impl<T> CallHasher for T where
T: Hash,
[src][+]
T: Hash,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
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,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,