#[repr(C)]pub struct ncprogbar_options {
pub ulchannel: u32,
pub urchannel: u32,
pub blchannel: u32,
pub brchannel: u32,
pub flags: u64,
}
Fields§
§ulchannel: u32
upper-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: u32
bar, all four channels ought be the same.
flags: u64
Implementations§
Source§impl ncprogbar_options
§NcProgBarOptions
Methods
impl ncprogbar_options
§NcProgBarOptions
Methods
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 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 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 for ncprogbar_options
impl PartialEq for ncprogbar_options
Source§impl PartialOrd for ncprogbar_options
impl PartialOrd for ncprogbar_options
impl Copy for ncprogbar_options
impl Eq for ncprogbar_options
impl StructuralPartialEq for ncprogbar_options
Auto Trait Implementations§
impl Freeze for ncprogbar_options
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§
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