pub struct TabState {
pub active: bool,
pub is_being_dragged: bool,
pub closable: bool,
}Expand description
The state of a tab, used to inform the rendering of the tab.
Fields§
§active: boolIs the tab currently selected?
is_being_dragged: boolIs the tab currently being dragged?
closable: boolShould the tab have a close button?
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TabState
impl RefUnwindSafe for TabState
impl Send for TabState
impl Sync for TabState
impl Unpin for TabState
impl UnwindSafe for TabState
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