Struct kconfig_represent::menu::Menu
source · [−]pub struct Menu { /* private fields */ }Implementations
sourceimpl Menu
impl Menu
pub fn len(&self) -> usize
pub fn sub_descriptors(&self) -> Box<dyn Iterator<Item = MenuItemDescriptor>>
Trait Implementations
sourceimpl DotConfig for Menu
impl DotConfig for Menu
sourcefn as_dot_config(&self) -> String
fn as_dot_config(&self) -> String
Represents the text of the item to be put into the .config Read more
sourceimpl MenuItem for Menu
impl MenuItem for Menu
sourcefn info(&self) -> Vec<String>
fn info(&self) -> Vec<String>
Returns the item’s help text (if present). If not present, should return an empty string instead.
sourcefn descriptor(&self) -> MenuItemDescriptor
fn descriptor(&self) -> MenuItemDescriptor
Returns the name of the named item
impl Eq for Menu
impl StructuralEq for Menu
impl StructuralPartialEq for Menu
Auto Trait Implementations
impl RefUnwindSafe for Menu
impl Send for Menu
impl Sync for Menu
impl Unpin for Menu
impl UnwindSafe for Menu
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more