//! Tab persistent state.
/// Transient interaction state for one tab.
#[derive(Debug, Clone, Default)]pubstructTabState{/// Pointer is over the tab body.
pubhovered:bool,
/// Tab body is pressed (button-down, not yet released).
pubpressed:bool,
/// Pointer is specifically over the close button.
pubclose_btn_hovered:bool,
}implTabState{pubfnnew()->Self{Self::default()}}