Struct libnotcurses_sys::c_api::ncprogbar_options
source · pub struct ncprogbar_options {
pub ulchannel: u32,
pub urchannel: u32,
pub blchannel: u32,
pub brchannel: u32,
pub flags: u64,
}Fields§
§ulchannel: u32upper-left channel. in the context of a progress bar,
urchannel: u32“up” is the direction we are progressing towards, and
blchannel: u32“bottom” is the direction of origin. for monochromatic
brchannel: u32bar, all four channels ought be the same.
flags: u64Implementations§
source§impl ncprogbar_options
impl ncprogbar_options
sourcepub const RETROGRADE: u32 = 1u32
pub const RETROGRADE: u32 = 1u32
proceeds left/down
Trait Implementations§
source§impl Clone for ncprogbar_options
impl Clone for ncprogbar_options
source§fn clone(&self) -> ncprogbar_options
fn clone(&self) -> ncprogbar_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 ncprogbar_options
impl Debug for ncprogbar_options
source§impl Default for ncprogbar_options
impl Default for ncprogbar_options
source§fn default() -> ncprogbar_options
fn default() -> ncprogbar_options
Returns the “default value” for a type. Read more
source§impl Hash for ncprogbar_options
impl Hash for ncprogbar_options
source§impl Ord for ncprogbar_options
impl Ord for ncprogbar_options
source§fn cmp(&self, other: &ncprogbar_options) -> Ordering
fn cmp(&self, other: &ncprogbar_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<ncprogbar_options> for ncprogbar_options
impl PartialEq<ncprogbar_options> for ncprogbar_options
source§fn eq(&self, other: &ncprogbar_options) -> bool
fn eq(&self, other: &ncprogbar_options) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ncprogbar_options> for ncprogbar_options
impl PartialOrd<ncprogbar_options> for ncprogbar_options
source§fn partial_cmp(&self, other: &ncprogbar_options) -> Option<Ordering>
fn partial_cmp(&self, other: &ncprogbar_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