Enum cranelift_module::Writability[][src]

pub enum Writability {
    Readonly,
    Writable,
}

A flag specifying whether data is readonly or may be written to.

Variants

Data is readonly, meaning writes to it will trap.

Data is writable.

Trait Implementations

impl Copy for Writability
[src]

impl Clone for Writability
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Writability
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Writability
[src]

impl Debug for Writability
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Writability

impl Sync for Writability