Enum cranelift_module::Linkage[][src]

pub enum Linkage {
    Import,
    Local,
    Preemptible,
    Export,
}

Linkage refers to where an entity is defined and who can see it.

Variants

Defined outside of a module.

Defined inside the module, but not visible outside it.

Defined inside the module, visible outside it, and may be preempted.

Defined inside the module, and visible outside it.

Methods

impl Linkage
[src]

Test whether this linkage can have a definition.

Test whether this linkage will have a definition that cannot be preempted.

Trait Implementations

impl Copy for Linkage
[src]

impl Clone for Linkage
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Linkage
[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 Linkage
[src]

Auto Trait Implementations

impl Send for Linkage

impl Sync for Linkage