Skip to main content

list_definitions

Function list_definitions 

Source
pub fn list_definitions() -> RwLockReadGuard<'static, Vec<Definition>>
Expand description

Returns all unit definitions from the embedded GNU units database.

Each entry contains the unit name, its definition string, and what kind of definition it is (unit, prefix, function, table, or alias). The list is sorted alphabetically by name.