Enum cretonne_module::Init
[−]
[src]
pub enum Init { Uninitialized, Zeros { size: usize, }, Bytes { contents: Box<[u8]>, }, }
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]
Trait Implementations
impl PartialEq for Init
[src]
fn eq(&self, __arg_0: &Init) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Init) -> bool
[src]
This method tests for !=
.