Struct ncursesw::shims::bindings::tagMENU[][src]

#[repr(C)]
pub struct tagMENU {
Show 36 fields pub height: c_short, pub width: c_short, pub rows: c_short, pub cols: c_short, pub frows: c_short, pub fcols: c_short, pub arows: c_short, pub namelen: c_short, pub desclen: c_short, pub marklen: c_short, pub itemlen: c_short, pub spc_desc: c_short, pub spc_cols: c_short, pub spc_rows: c_short, pub pattern: *mut c_char, pub pindex: c_short, pub win: *mut WINDOW, pub sub: *mut WINDOW, pub userwin: *mut WINDOW, pub usersub: *mut WINDOW, pub items: *mut *mut ITEM, pub nitems: c_short, pub curitem: *mut ITEM, pub toprow: c_short, pub fore: chtype, pub back: chtype, pub grey: chtype, pub pad: c_uchar, pub menuinit: Menu_Hook, pub menuterm: Menu_Hook, pub iteminit: Menu_Hook, pub itemterm: Menu_Hook, pub userptr: *mut c_void, pub mark: *mut c_char, pub opt: Menu_Options, pub status: c_ushort,
}

Fields

height: c_shortwidth: c_shortrows: c_shortcols: c_shortfrows: c_shortfcols: c_shortarows: c_shortnamelen: c_shortdesclen: c_shortmarklen: c_shortitemlen: c_shortspc_desc: c_shortspc_cols: c_shortspc_rows: c_shortpattern: *mut c_charpindex: c_shortwin: *mut WINDOWsub: *mut WINDOWuserwin: *mut WINDOWusersub: *mut WINDOWitems: *mut *mut ITEMnitems: c_shortcuritem: *mut ITEMtoprow: c_shortfore: chtypeback: chtypegrey: chtypepad: c_ucharmenuinit: Menu_Hookmenuterm: Menu_Hookiteminit: Menu_Hookitemterm: Menu_Hookuserptr: *mut c_voidmark: *mut c_charopt: Menu_Optionsstatus: c_ushort

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.