Module cvar::console
[−]
[src]
Interact with the cvar hierarchy.
The design of this library makes recursive depth-first pre-order traversal the only feasable method to walk the cvar hierarchy.
This trade-off allows the hierarchy to be constructed lazily with very convenient stack-allocated resources.
Structs
Walk |
Iterator over parent list nodes. |
Functions
default |
Gets a property its default. |
find |
Finds a cvar by its node identifier and invokes the callback with it. |
get |
Gets a property its value. |
invoke |
Invokes an action. |
reset |
Resets properties to their default. |
reset_all |
Resets all properties to their default. |
set |
Sets a property its value. |
state |
Gets a property its state. |
visit |
Visits all nodes in the cvar hierarchy and invokes the callback with each |
walk |
Walks the cvar hierarchy while keeping track of the parent context. |