enum Context [src]

The places where a user can specify an address space attribute

Fields

functionA function is specified to be placed in a certain address space.
variableA (global) variable is specified to be placed in a certain address space. In contrast to .constant, these values (and thus the address space they will be placed in) are required to be mutable.
constantA (global) constant value is specified to be placed in a certain address space. In contrast to .variable, values placed in this address space are not required to be mutable.
pointerA pointer is ascripted to point into a certain address space.

Source

pub const Context = enum { /// A function is specified to be placed in a certain address space. function, /// A (global) variable is specified to be placed in a certain address space. /// In contrast to .constant, these values (and thus the address space they will be /// placed in) are required to be mutable. variable, /// A (global) constant value is specified to be placed in a certain address space. /// In contrast to .variable, values placed in this address space are not required to be mutable. constant, /// A pointer is ascripted to point into a certain address space. pointer, }