pub enum TabStripHitTarget {
OverflowMenuRow {
index: usize,
part: OverflowMenuPart,
},
OverflowButton,
Tab {
index: usize,
part: TabPart,
},
HeaderSpace,
None,
}Expand description
A coarse-grained hit-test result for a tab strip.
Variants§
OverflowMenuRow
The overflow dropdown/menu surface.
OverflowButton
The overflow control button in the strip.
Tab
A tab in the strip.
HeaderSpace
Header / empty space inside the strip (e.g. end-drop surface).
None
Outside the strip.
Trait Implementations§
Source§impl Clone for TabStripHitTarget
impl Clone for TabStripHitTarget
Source§fn clone(&self) -> TabStripHitTarget
fn clone(&self) -> TabStripHitTarget
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 TabStripHitTarget
impl Debug for TabStripHitTarget
Source§impl PartialEq for TabStripHitTarget
impl PartialEq for TabStripHitTarget
impl Copy for TabStripHitTarget
impl Eq for TabStripHitTarget
impl StructuralPartialEq for TabStripHitTarget
Auto Trait Implementations§
impl Freeze for TabStripHitTarget
impl RefUnwindSafe for TabStripHitTarget
impl Send for TabStripHitTarget
impl Sync for TabStripHitTarget
impl Unpin for TabStripHitTarget
impl UnsafeUnpin for TabStripHitTarget
impl UnwindSafe for TabStripHitTarget
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