pub enum Init {
Uninitialized,
Zeros {
size: usize,
},
Bytes {
contents: Box<[u8]>,
},
}Expand description
This specifies how data is to be initialized.
This indicates that no initialization has been specified yet.
Initialize the data with all zeros.
Show fields
Initialize the data with the specified contents.
Show fields
Fields of Bytes
The contents, which also implies the size of the data.
Return the size of the data to be initialized.
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
impl<T> Any for T where
T: 'static + ?Sized, [src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>, [src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.