ixa

Module global_properties

Source
Expand description

A generic mechanism for storing context-wide data.

Global properties are not mutable and represent variables that are required in a global scope during the simulation, such as simulation parameters. A global property can be of any type, and is is just a value stored in the context. Global properties are defined by the define_global_property!() macro and can then be set in one of two ways:

Attempting to change a global property which has been set already will result in an error.

Global properties can be read with Context::get_global_property_value()

Macros§

Structs§

Traits§

Functions§