[][src]Struct meli::components::mail::listing::Listing

pub struct Listing {
    component: ListingComponent,
    accounts: Vec<AccountMenuEntry>,
    status: Option<AccountStatus>,
    dirty: bool,
    visible: bool,
    cursor_pos: (usize, MenuEntryCursor),
    menu_cursor_pos: (usize, MenuEntryCursor),
    menu_content: CellBuffer,
    menu_scrollbar_show_timer: Timer,
    show_menu_scrollbar: ShowMenuScrollbar,
    startup_checks_rate: RateLimit,
    id: ComponentId,
    theme_default: ThemeAttribute,
    sidebar_divider: char,
    sidebar_divider_theme: ThemeAttribute,
    menu_visibility: bool,
    cmd_buf: String,
    ratio: usize,
    menu_width: WidgetWidth,
    focus: ListingFocus,
}

Fields

component: ListingComponentaccounts: Vec<AccountMenuEntry>status: Option<AccountStatus>dirty: boolvisible: boolcursor_pos: (usize, MenuEntryCursor)menu_cursor_pos: (usize, MenuEntryCursor)menu_content: CellBuffermenu_scrollbar_show_timer: Timershow_menu_scrollbar: ShowMenuScrollbarstartup_checks_rate: RateLimitid: ComponentIdtheme_default: ThemeAttributesidebar_divider: charsidebar_divider_theme: ThemeAttributemenu_visibility: boolcmd_buf: Stringratio: usize

This is the width of the right container to the entire width.

menu_width: WidgetWidthfocus: ListingFocus

Implementations

impl Listing[src]

pub const DESCRIPTION: &'static str[src]

pub fn new(context: &mut Context) -> Self[src]

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

fn print_account(
    &mut self,
    area: Area,
    aidx: usize,
    context: &mut Context
) -> usize
[src]

fn change_account(&mut self, context: &mut Context)[src]

fn open_status(&mut self, account_idx: usize, context: &mut Context)[src]

Trait Implementations

impl Component for Listing[src]

impl Debug for Listing[src]

impl Display for Listing[src]

Auto Trait Implementations

impl !RefUnwindSafe for Listing

impl Send for Listing

impl Sync for Listing

impl Unpin for Listing

impl !UnwindSafe for Listing

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]