pub struct MouseInputState { /* private fields */ }Expand description
The state which a window should hold for the mouse input
Implementations§
Source§impl MouseInputState
impl MouseInputState
Sourcepub fn top_item_including_delayed(&self) -> Option<ItemRc>
pub fn top_item_including_delayed(&self) -> Option<ItemRc>
Returns the item in the top of the stack, if there is a delayed event, this would be the top of the delayed stack
Sourcepub fn has_delayed_event(&self) -> bool
pub fn has_delayed_event(&self) -> bool
Returns true if there is a pending delayed event (e.g. from a Flickable)
Sourcepub fn drop_target_action(&self) -> Option<DragAction>
pub fn drop_target_action(&self) -> Option<DragAction>
The action negotiated with the DropArea that accepted the most recent
DragMove/Drop, or None if none accepted.
Trait Implementations§
Source§impl Default for MouseInputState
impl Default for MouseInputState
Source§fn default() -> MouseInputState
fn default() -> MouseInputState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for MouseInputState
impl !RefUnwindSafe for MouseInputState
impl !Send for MouseInputState
impl !Sync for MouseInputState
impl !UnwindSafe for MouseInputState
impl Unpin for MouseInputState
impl UnsafeUnpin for MouseInputState
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