Struct libnotcurses_sys::c_api::ffi::ncreel_options
source · #[repr(C)]pub struct ncreel_options {
pub bordermask: c_uint,
pub borderchan: u64,
pub tabletmask: c_uint,
pub tabletchan: u64,
pub focusedchan: u64,
pub flags: u64,
}Fields§
§bordermask: c_uintbitfield; 1s will not be drawn (see bordermaskbits)
borderchan: u64attributes used for ncreel border
tabletmask: c_uintbitfield; same as bordermask but for tablet borders
tabletchan: u64tablet border styling channel
focusedchan: u64focused tablet border styling channel
flags: u64bitfield over NCREEL_OPTION_*
Implementations§
source§impl ncreel_options
impl ncreel_options
sourcepub const CIRCULAR: u32 = 2u32
pub const CIRCULAR: u32 = 2u32
is navigation circular (does moving down from the last tablet move to the first, and vice versa)? only meaningful when infinitescroll is true. if infinitescroll is false, this must be false.
sourcepub const INFINITESCROLL: u32 = 1u32
pub const INFINITESCROLL: u32 = 1u32
is scrolling infinite (can one move down or up forever, or is an end reached?). if true, ‘circular’ specifies how to handle the special case of an incompletely-filled reel.
Trait Implementations§
source§impl Clone for ncreel_options
impl Clone for ncreel_options
source§fn clone(&self) -> ncreel_options
fn clone(&self) -> ncreel_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 ncreel_options
impl Debug for ncreel_options
source§impl Default for ncreel_options
impl Default for ncreel_options
source§fn default() -> ncreel_options
fn default() -> ncreel_options
Returns the “default value” for a type. Read more
source§impl Hash for ncreel_options
impl Hash for ncreel_options
source§impl Ord for ncreel_options
impl Ord for ncreel_options
source§fn cmp(&self, other: &ncreel_options) -> Ordering
fn cmp(&self, other: &ncreel_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<ncreel_options> for ncreel_options
impl PartialEq<ncreel_options> for ncreel_options
source§fn eq(&self, other: &ncreel_options) -> bool
fn eq(&self, other: &ncreel_options) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ncreel_options> for ncreel_options
impl PartialOrd<ncreel_options> for ncreel_options
source§fn partial_cmp(&self, other: &ncreel_options) -> Option<Ordering>
fn partial_cmp(&self, other: &ncreel_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