Enum cretonne_module::Writability
[−]
[src]
pub enum Writability { Readonly, Writable, }
A flag specifying whether data is readonly or may be written to.
Variants
Readonly
Data is readonly, meaning writes to it will trap.
Writable
Data is writable.
Trait Implementations
impl Copy for Writability
[src]
impl Clone for Writability
[src]
fn clone(&self) -> Writability
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Writability
[src]
fn eq(&self, __arg_0: &Writability) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.