pub enum OverlayInput {
Interactive,
Transparent,
}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.
Whether a registered surface takes pointer input.
Variants§
Interactive
Hit-tested: a pointer inside the rect goes to the owner, not the main tree.
Transparent
Painted but never hit-tested, and never sent any overlay event.
Trait Implementations§
Source§impl Clone for OverlayInput
impl Clone for OverlayInput
Source§fn clone(&self) -> OverlayInput
fn clone(&self) -> OverlayInput
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 OverlayInput
Source§impl Debug for OverlayInput
impl Debug for OverlayInput
impl Eq for OverlayInput
Source§impl Hash for OverlayInput
impl Hash for OverlayInput
Source§impl PartialEq for OverlayInput
impl PartialEq for OverlayInput
impl StructuralPartialEq for OverlayInput
Auto Trait Implementations§
impl Freeze for OverlayInput
impl RefUnwindSafe for OverlayInput
impl Send for OverlayInput
impl Sync for OverlayInput
impl Unpin for OverlayInput
impl UnsafeUnpin for OverlayInput
impl UnwindSafe for OverlayInput
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> 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.