pub enum TabStripIntent {
ToggleOverflowMenu,
Activate {
index: usize,
ensure_visible: bool,
},
Close {
index: usize,
},
None,
}Expand description
An intent that an adapter can translate into its domain operations.
Variants§
ToggleOverflowMenu
Toggle open/close for the overflow dropdown/menu.
Activate
Activate the given tab index. Adapters can decide what “activate” means (focus, selection).
Close
Close the given tab index. Adapters must ensure this does not implicitly activate.
None
No action.
Trait Implementations§
Source§impl Clone for TabStripIntent
impl Clone for TabStripIntent
Source§fn clone(&self) -> TabStripIntent
fn clone(&self) -> TabStripIntent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TabStripIntent
impl Debug for TabStripIntent
Source§impl PartialEq for TabStripIntent
impl PartialEq for TabStripIntent
impl Copy for TabStripIntent
impl Eq for TabStripIntent
impl StructuralPartialEq for TabStripIntent
Auto Trait Implementations§
impl Freeze for TabStripIntent
impl RefUnwindSafe for TabStripIntent
impl Send for TabStripIntent
impl Sync for TabStripIntent
impl Unpin for TabStripIntent
impl UnsafeUnpin for TabStripIntent
impl UnwindSafe for TabStripIntent
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