pub struct TabItem<'a, T> { /* fields omitted */ }
Will open or close the tab.
True to display the tab. Tab item is visible by default.
Set the flags of the tab item.
Flags are empty by default
Creates a tab item and runs a closure to construct the contents.
Returns the result of the closure, if it is called.
Note: the closure is not called if the tab item is not selected
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.