pub enum OverlayKind {
Dropdown,
Sheet,
Dialog,
Tooltip,
Toast,
}Variants§
Dropdown
Anchored at trigger bottom-left. PassThrough input. No scrim.
Sheet
Bottom of window. PassThrough input. Dim scrim with tap-to-dismiss.
Dialog
Centered. Blocks input. Traps focus. Dim scrim with tap-to-dismiss.
Tooltip
Anchored at trigger top-right. PassThrough. Inert. No scrim.
Toast
Floating above the bottom edge, centered. PassThrough. Inert. No scrim.
Trait Implementations§
Source§impl Clone for OverlayKind
impl Clone for OverlayKind
Source§fn clone(&self) -> OverlayKind
fn clone(&self) -> OverlayKind
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 OverlayKind
Source§impl Debug for OverlayKind
impl Debug for OverlayKind
impl Eq for OverlayKind
Source§impl PartialEq for OverlayKind
impl PartialEq for OverlayKind
impl StructuralPartialEq for OverlayKind
Auto Trait Implementations§
impl Freeze for OverlayKind
impl RefUnwindSafe for OverlayKind
impl Send for OverlayKind
impl Sync for OverlayKind
impl Unpin for OverlayKind
impl UnsafeUnpin for OverlayKind
impl UnwindSafe for OverlayKind
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