#[repr(C)]pub struct ncreader_options {
pub tchannels: u64,
pub tattrword: u32,
pub flags: u64,
}
Fields§
§tchannels: u64
channels used for input
tattrword: u32
attributes used for input
flags: u64
bitfield of NCREADER_OPTION_*
Implementations§
Source§impl ncreader_options
§NcReaderOptions
Constructors
impl ncreader_options
§NcReaderOptions
Constructors
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 duplicate 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 for ncreader_options
impl PartialEq for ncreader_options
Source§impl PartialOrd for ncreader_options
impl PartialOrd for ncreader_options
impl Copy for ncreader_options
impl Eq for ncreader_options
impl StructuralPartialEq for ncreader_options
Auto Trait Implementations§
impl Freeze for ncreader_options
impl RefUnwindSafe for ncreader_options
impl Send for ncreader_options
impl Sync for ncreader_options
impl Unpin for ncreader_options
impl UnwindSafe for ncreader_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