pub enum OverlayBand {
Floating,
Tooltip,
}Expand description
The overlay registry’s own vocabulary, re-exported from frust-core so a
design system naming a band, an input class, a light-dismiss policy or a
surface identity does it through this one module: an
OverlaySlot’s setters take exactly these types, and a widget that cannot
name them cannot configure one.
A surface’s z-band: Floating paints below Tooltip, which hit-tests first.
Variants§
Floating
Menus, popovers, dropdowns, selection toolbars.
Tooltip
Tooltips and other chrome above everything else.
Trait Implementations§
Source§impl Clone for OverlayBand
impl Clone for OverlayBand
Source§fn clone(&self) -> OverlayBand
fn clone(&self) -> OverlayBand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OverlayBand
Source§impl Debug for OverlayBand
impl Debug for OverlayBand
impl Eq for OverlayBand
Source§impl Hash for OverlayBand
impl Hash for OverlayBand
Source§impl Ord for OverlayBand
impl Ord for OverlayBand
Source§fn cmp(&self, other: &OverlayBand) -> Ordering
fn cmp(&self, other: &OverlayBand) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for OverlayBand
impl PartialEq for OverlayBand
Source§impl PartialOrd for OverlayBand
impl PartialOrd for OverlayBand
impl StructuralPartialEq for OverlayBand
Auto Trait Implementations§
impl Freeze for OverlayBand
impl RefUnwindSafe for OverlayBand
impl Send for OverlayBand
impl Sync for OverlayBand
impl Unpin for OverlayBand
impl UnsafeUnpin for OverlayBand
impl UnwindSafe for OverlayBand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.