[][src]Module cvar::console

Interact with the configuration variables.

The design of this library makes recursive depth-first pre-order traversal the only feasable method to walk the cvars.

This trade-off allows the hierarchy to be constructed lazily with very convenient stack-allocated resources.

Functions

find

Finds a cvar by its path and invokes the closure 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.

walk

Walks all nodes in the cvar hierarchy and call the closure with the node along its full path.