pub enum InputBehavior {
PassThrough,
Block,
}Expand description
Controls whether pointer events that miss the overlay widget’s rect fall through to entries below / the main tree, or are absorbed.
Variants§
PassThrough
Misses fall through to the next entry or main tree.
Block
Misses are absorbed (or trigger scrim dismiss if configured).
Trait Implementations§
Source§impl Clone for InputBehavior
impl Clone for InputBehavior
Source§fn clone(&self) -> InputBehavior
fn clone(&self) -> InputBehavior
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 InputBehavior
Source§impl Debug for InputBehavior
impl Debug for InputBehavior
impl Eq for InputBehavior
Source§impl PartialEq for InputBehavior
impl PartialEq for InputBehavior
impl StructuralPartialEq for InputBehavior
Auto Trait Implementations§
impl Freeze for InputBehavior
impl RefUnwindSafe for InputBehavior
impl Send for InputBehavior
impl Sync for InputBehavior
impl Unpin for InputBehavior
impl UnsafeUnpin for InputBehavior
impl UnwindSafe for InputBehavior
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