#[repr(C)]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 for ncselector_item
impl PartialEq for ncselector_item
Source§impl PartialOrd for ncselector_item
impl PartialOrd for ncselector_item
impl Eq for ncselector_item
impl StructuralPartialEq for ncselector_item
Auto Trait Implementations§
impl Freeze for ncselector_item
impl RefUnwindSafe for ncselector_item
impl !Send for ncselector_item
impl !Sync for ncselector_item
impl Unpin for ncselector_item
impl UnwindSafe for ncselector_item
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