pub struct TabControl {
    pub tabs_view: ScrollView,
    pub tabs: Vec<Tab>,
    pub drag_tab_view: View,
    pub drag_tab: Tab,
    pub page_view: View,
    pub tab_fill: Background,
    pub _dragging_tab: Option<(PointerMoveEvent, usize)>,
    pub _tab_id_alloc: usize,
    pub _tab_now_selected: Option<usize>,
    pub _tab_last_selected: Option<usize>,
    pub _focussed: bool,
}

Fields

tabs_view: ScrollViewtabs: Vec<Tab>drag_tab_view: Viewdrag_tab: Tabpage_view: Viewtab_fill: Background_dragging_tab: Option<(PointerMoveEvent, usize)>_tab_id_alloc: usize_tab_now_selected: Option<usize>_tab_last_selected: Option<usize>_focussed: bool

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.