Trait kconfig_represent::MenuItem
source · [−]pub trait MenuItem {
fn descriptor(&self) -> MenuItemDescriptor;
fn enabled(&self) -> bool;
fn enable(&mut self, flag: bool);
fn info(&self) -> Vec<String>;
}Expand description
Represents a named item such as a menu or a config item
Required Methods
fn descriptor(&self) -> MenuItemDescriptor
fn descriptor(&self) -> MenuItemDescriptor
Returns the name of the named item