Struct libnotcurses_sys::ffi::ncmenu_item [−][src]
Expand description
Menus. Horizontal menu bars are supported, on the top and/or bottom rows. If the menu bar is longer than the screen, it will be only partially visible. Menus may be either visible or invisible by default. In the event of a plane resize, menus will be automatically moved/resized. Elements can be dynamically enabled or disabled at all levels (menu, section, and item),
Fields
desc: *mut c_char
utf-8 menu item, NULL for horizontal separator
shortcut: ncinput
shortcut, all should be distinct
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ncmenu_item
impl !Send for ncmenu_item
impl !Sync for ncmenu_item
impl Unpin for ncmenu_item
impl UnwindSafe for ncmenu_item
Blanket Implementations
Mutably borrows from an owned value. Read more