[][src]Struct meli::components::utilities::StatusBar

pub struct StatusBar {
    container: Box<dyn Component>,
    status: String,
    status_message: String,
    ex_buffer: Field,
    ex_buffer_cmd_history_pos: Option<usize>,
    display_buffer: String,
    mode: UIMode,
    mouse: bool,
    height: usize,
    dirty: bool,
    id: ComponentId,
    progress_spinner: ProgressSpinner,
    in_progress_jobs: HashSet<JobId>,
    done_jobs: HashSet<JobId>,
    auto_complete: AutoComplete,
    cmd_history: Vec<String>,
}

Status bar.

Fields

container: Box<dyn Component>status: Stringstatus_message: Stringex_buffer: Fieldex_buffer_cmd_history_pos: Option<usize>display_buffer: Stringmode: UIModemouse: boolheight: usizedirty: boolid: ComponentIdprogress_spinner: ProgressSpinnerin_progress_jobs: HashSet<JobId>done_jobs: HashSet<JobId>auto_complete: AutoCompletecmd_history: Vec<String>

Implementations

impl StatusBar[src]

pub fn new(context: &Context, container: Box<dyn Component>) -> Self[src]

fn draw_status_bar(
    &mut self,
    grid: &mut CellBuffer,
    area: Area,
    context: &mut Context
)
[src]

fn draw_command_bar(
    &mut self,
    grid: &mut CellBuffer,
    area: Area,
    context: &mut Context
)
[src]

Trait Implementations

impl Component for StatusBar[src]

impl Debug for StatusBar[src]

impl Display for StatusBar[src]

Auto Trait Implementations

impl !RefUnwindSafe for StatusBar

impl Send for StatusBar

impl Sync for StatusBar

impl Unpin for StatusBar

impl !UnwindSafe for StatusBar

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]