Enum cranelift_module::Init [−][src]
This specifies how data is to be initialized.
Variants
Uninitialized
This indicates that no initialization has been specified yet.
Zeros
Initialize the data with all zeros.
Fields of Zeros
size: usize | The size of the data. |
Bytes
Initialize the data with the specified contents.
Fields of Bytes
contents: Box<[u8]> | The contents, which also implies the size of the data. |
Methods
impl Init
[src]
impl Init
Trait Implementations
impl PartialEq for Init
[src]
impl PartialEq for Init
fn eq(&self, other: &Init) -> bool
[src]
fn eq(&self, other: &Init) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Init) -> bool
[src]
fn ne(&self, other: &Init) -> bool
This method tests for !=
.
impl Eq for Init
[src]
impl Eq for Init
impl Debug for Init
[src]
impl Debug for Init