#[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 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 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 for ncreel_options
impl PartialEq for ncreel_options
Source§impl PartialOrd for ncreel_options
impl PartialOrd for ncreel_options
impl Copy for ncreel_options
impl Eq for ncreel_options
impl StructuralPartialEq for ncreel_options
Auto Trait Implementations§
impl Freeze for ncreel_options
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§
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