Struct libnotcurses_sys::c_api::ncselector_item
source · pub struct ncselector_item {
pub option: *const c_char,
pub desc: *const c_char,
}Expand description
selection widget – an ncplane with a title header and a body section. the body section supports infinite scrolling up and down.
At all times, exactly one item is selected.
Fields§
§option: *const c_char§desc: *const c_charImplementations§
Trait Implementations§
source§impl Debug for ncselector_item
impl Debug for ncselector_item
source§impl Default for ncselector_item
impl Default for ncselector_item
source§impl Hash for ncselector_item
impl Hash for ncselector_item
source§impl Ord for ncselector_item
impl Ord for ncselector_item
source§fn cmp(&self, other: &ncselector_item) -> Ordering
fn cmp(&self, other: &ncselector_item) -> 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<ncselector_item> for ncselector_item
impl PartialEq<ncselector_item> for ncselector_item
source§fn eq(&self, other: &ncselector_item) -> bool
fn eq(&self, other: &ncselector_item) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ncselector_item> for ncselector_item
impl PartialOrd<ncselector_item> for ncselector_item
source§fn partial_cmp(&self, other: &ncselector_item) -> Option<Ordering>
fn partial_cmp(&self, other: &ncselector_item) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more