Trait cranelift_codegen::ir::immediates::IntoBytes [−][src]
pub trait IntoBytes {
fn into_bytes(self) -> Vec<u8>;
}Convert a type into a vector of bytes; all implementors in this file must use little-endian orderings of bytes to match WebAssembly’s little-endianness.
Required methods
fn into_bytes(self) -> Vec<u8>[src]
Return the little-endian byte representation of the implementing type.
Implementations on Foreign Types
impl IntoBytes for u8[src]
impl IntoBytes for u8[src]fn into_bytes(self) -> Vec<u8>[src]
impl IntoBytes for i16[src]
impl IntoBytes for i16[src]fn into_bytes(self) -> Vec<u8>[src]
impl IntoBytes for i32[src]
impl IntoBytes for i32[src]fn into_bytes(self) -> Vec<u8>[src]
impl IntoBytes for Vec<u8>[src]
impl IntoBytes for Vec<u8>[src]fn into_bytes(self) -> Vec<u8>[src]
Implementors
Loading content...