Struct libnotcurses_sys::c_api::ncselector_item
source · [−]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_chardesc: *const c_charImplementations
Trait Implementations
sourceimpl Debug for ncselector_item
impl Debug for ncselector_item
sourceimpl Default for ncselector_item
impl Default for ncselector_item
sourceimpl Hash for ncselector_item
impl Hash for ncselector_item
sourceimpl Ord for ncselector_item
impl Ord for ncselector_item
sourceimpl PartialEq<ncselector_item> for ncselector_item
impl PartialEq<ncselector_item> for ncselector_item
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ncselector_item) -> bool
fn ne(&self, other: &ncselector_item) -> bool
This method tests for !=.
sourceimpl PartialOrd<ncselector_item> for ncselector_item
impl PartialOrd<ncselector_item> for ncselector_item
sourcefn partial_cmp(&self, other: &ncselector_item) -> Option<Ordering>
fn partial_cmp(&self, other: &ncselector_item) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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
impl Eq for ncselector_item
impl StructuralEq for ncselector_item
impl StructuralPartialEq for ncselector_item
Auto Trait Implementations
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
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