Trait cranelift_codegen::ir::immediates::IntoBytes
source · pub trait IntoBytes {
// Required method
fn into_bytes(self) -> Vec<u8> ⓘ;
}
Expand description
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§
sourcefn into_bytes(self) -> Vec<u8> ⓘ
fn into_bytes(self) -> Vec<u8> ⓘ
Return the little-endian byte representation of the implementing type.