Struct libnotcurses_sys::c_api::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
sourceimpl 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
sourceimpl Clone for ncreel_options
impl Clone for ncreel_options
sourcefn clone(&self) -> ncreel_options
fn clone(&self) -> ncreel_options
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ncreel_options
impl Debug for ncreel_options
sourceimpl Default for ncreel_options
impl Default for ncreel_options
sourcefn default() -> ncreel_options
fn default() -> ncreel_options
Returns the “default value” for a type. Read more
sourceimpl Hash for ncreel_options
impl Hash for ncreel_options
sourceimpl Ord for ncreel_options
impl Ord for ncreel_options
sourceimpl PartialEq<ncreel_options> for ncreel_options
impl PartialEq<ncreel_options> for ncreel_options
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ncreel_options) -> bool
fn ne(&self, other: &ncreel_options) -> bool
This method tests for !=.
sourceimpl PartialOrd<ncreel_options> for ncreel_options
impl PartialOrd<ncreel_options> for ncreel_options
sourcefn partial_cmp(&self, other: &ncreel_options) -> Option<Ordering>
fn partial_cmp(&self, other: &ncreel_options) -> 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 Copy for ncreel_options
impl Eq for ncreel_options
impl StructuralEq for ncreel_options
impl StructuralPartialEq for ncreel_options
Auto Trait Implementations
impl RefUnwindSafe for ncreel_options
impl Send for ncreel_options
impl Sync for ncreel_options
impl Unpin for ncreel_options
impl UnwindSafe for ncreel_options
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