Struct libnotcurses_sys::c_api::ncreader_options
source · pub struct ncreader_options {
pub tchannels: u64,
pub tattrword: u32,
pub flags: u64,
}Fields§
§tchannels: u64channels used for input
tattrword: u32attributes used for input
flags: u64bitfield of NCREADER_OPTION_*
Implementations§
source§impl ncreader_options
impl ncreader_options
sourcepub const CURSOR: u32 = 8u32
pub const CURSOR: u32 = 8u32
Makes the terminal cursor visible across the lifetime of the ncreader, and have the ncreader manage the cursor’s placement.
sourcepub const HORSCROLL: u32 = 1u32
pub const HORSCROLL: u32 = 1u32
Enables horizontal scrolling. Virtual lines can then grow arbitrarily long.
Trait Implementations§
source§impl Clone for ncreader_options
impl Clone for ncreader_options
source§fn clone(&self) -> ncreader_options
fn clone(&self) -> ncreader_options
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ncreader_options
impl Debug for ncreader_options
source§impl Default for ncreader_options
impl Default for ncreader_options
source§fn default() -> ncreader_options
fn default() -> ncreader_options
Returns the “default value” for a type. Read more
source§impl Hash for ncreader_options
impl Hash for ncreader_options
source§impl Ord for ncreader_options
impl Ord for ncreader_options
source§fn cmp(&self, other: &ncreader_options) -> Ordering
fn cmp(&self, other: &ncreader_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<ncreader_options> for ncreader_options
impl PartialEq<ncreader_options> for ncreader_options
source§fn eq(&self, other: &ncreader_options) -> bool
fn eq(&self, other: &ncreader_options) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ncreader_options> for ncreader_options
impl PartialOrd<ncreader_options> for ncreader_options
source§fn partial_cmp(&self, other: &ncreader_options) -> Option<Ordering>
fn partial_cmp(&self, other: &ncreader_options) -> 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