#[repr(C)]pub struct ncmultiselector_options {
pub title: *const c_char,
pub secondary: *const c_char,
pub footer: *const c_char,
pub items: *const ncmselector_item,
pub maxdisplay: c_uint,
pub opchannels: u64,
pub descchannels: u64,
pub titlechannels: u64,
pub footchannels: u64,
pub boxchannels: u64,
pub flags: u64,
}Expand description
multiselection widget – a selector supporting multiple selections.
Unlike the selector widget, zero to all of the items can be selected, but also the widget does not support adding or removing items at runtime.
Fields§
§title: *const c_chartitle may be NULL, inhibiting riser, saving two rows.
secondary: *const c_charsecondary may be NULL
footer may be NULL
items: *const ncmselector_iteminitial items, descriptions, and statuses
maxdisplay: c_uintmaximum number of options to display at once, 0 to use all available space
opchannels: u64option channels
descchannels: u64description channels
titlechannels: u64title channels
footchannels: u64secondary and footer channels
boxchannels: u64border channels
flags: u64bitfield of NCMULTISELECTOR_OPTION_*, currently unused
Trait Implementations§
Source§impl Debug for ncmultiselector_options
impl Debug for ncmultiselector_options
Source§impl Default for ncmultiselector_options
impl Default for ncmultiselector_options
Source§impl Hash for ncmultiselector_options
impl Hash for ncmultiselector_options
Source§impl Ord for ncmultiselector_options
impl Ord for ncmultiselector_options
Source§fn cmp(&self, other: &ncmultiselector_options) -> Ordering
fn cmp(&self, other: &ncmultiselector_options) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ncmultiselector_options
impl PartialEq for ncmultiselector_options
Source§impl PartialOrd for ncmultiselector_options
impl PartialOrd for ncmultiselector_options
impl Eq for ncmultiselector_options
impl StructuralPartialEq for ncmultiselector_options
Auto Trait Implementations§
impl Freeze for ncmultiselector_options
impl RefUnwindSafe for ncmultiselector_options
impl !Send for ncmultiselector_options
impl !Sync for ncmultiselector_options
impl Unpin for ncmultiselector_options
impl UnwindSafe for ncmultiselector_options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more