Struct libnotcurses_sys::c_api::ncmenu_section
source · [−]#[repr(C)]pub struct ncmenu_section {
pub name: *const c_char,
pub itemcount: c_int,
pub items: *mut ncmenu_item,
pub shortcut: ncinput,
}Fields
name: *const c_charutf-8 c string
itemcount: c_intitems: *mut ncmenu_itemshortcut: ncinputshortcut, will be underlined if present in name
Implementations
sourceimpl ncmenu_section
impl ncmenu_section
Trait Implementations
sourceimpl Debug for ncmenu_section
impl Debug for ncmenu_section
sourceimpl Default for ncmenu_section
impl Default for ncmenu_section
Auto Trait Implementations
impl RefUnwindSafe for ncmenu_section
impl !Send for ncmenu_section
impl !Sync for ncmenu_section
impl Unpin for ncmenu_section
impl UnwindSafe for ncmenu_section
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