Re-exports

pub use error::Error;
pub use menu::Menu;

Modules

This file implements errors returned from the kconfig representation

Structs

Represents a configuration item as defined by the Abstract Syntax Tree, received from the kconfig-parser module.

The ConfigRegistry is used to create a registry, which allows reading and writing a configuration to and from a .config file as defined by a Kconfig file. To present the menu, a frontend is necessary to represent the state of the registry.

Descriptor information contains the “help” text of a menu item descriptor (where applicable).

A Hexadecimal type is basically a wrapper around usize with it’s own display logic embedded into it.

A tristate type is basically a bool wrapped in an option, where None represents ‘m’, or the ‘maybe’ state.

Enums

A LoadError is returned when during loading of a .config file, errors where found. Typically, this is non-destructive, but an end-user should be warned through the frontend that something went wrong during loading of the .config file.

Determines if the menu item is a configuration item or (sub) menu item, and accesses the name of the menu item.

Traits

Represents a configuration item

Represents a configurable item from a .config file

Represents a named item such as a menu or a config item