Struct libnotcurses_sys::c_api::ncprogbar_options
source · [−]#[repr(C)]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
sourceimpl ncprogbar_options
impl ncprogbar_options
sourcepub const RETROGRADE: u32
pub const RETROGRADE: u32
proceeds left/down
Trait Implementations
sourceimpl Clone for ncprogbar_options
impl Clone for ncprogbar_options
sourcefn clone(&self) -> ncprogbar_options
fn clone(&self) -> ncprogbar_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 ncprogbar_options
impl Debug for ncprogbar_options
sourceimpl Default for ncprogbar_options
impl Default for ncprogbar_options
sourcefn default() -> ncprogbar_options
fn default() -> ncprogbar_options
Returns the “default value” for a type. Read more
sourceimpl Hash for ncprogbar_options
impl Hash for ncprogbar_options
sourceimpl Ord for ncprogbar_options
impl Ord for ncprogbar_options
sourceimpl PartialEq<ncprogbar_options> for ncprogbar_options
impl PartialEq<ncprogbar_options> for ncprogbar_options
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ncprogbar_options) -> bool
fn ne(&self, other: &ncprogbar_options) -> bool
This method tests for !=.
sourceimpl PartialOrd<ncprogbar_options> for ncprogbar_options
impl PartialOrd<ncprogbar_options> for ncprogbar_options
sourcefn partial_cmp(&self, other: &ncprogbar_options) -> Option<Ordering>
fn partial_cmp(&self, other: &ncprogbar_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 ncprogbar_options
impl Eq for ncprogbar_options
impl StructuralEq for ncprogbar_options
impl StructuralPartialEq for ncprogbar_options
Auto Trait Implementations
impl RefUnwindSafe for ncprogbar_options
impl Send for ncprogbar_options
impl Sync for ncprogbar_options
impl Unpin for ncprogbar_options
impl UnwindSafe for ncprogbar_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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more