pub struct MouseInputResult {
pub state: MouseInputState,
pub accepted: bool,
}Expand description
Outcome of process_mouse_input.
Fields§
§state: MouseInputStateThe new dispatch state to install in place of the one passed in.
accepted: booltrue when an item consumed the event (EventAccepted, GrabMouse,
StartDrag, or a DropArea taking a DragMove/Drop).
Auto Trait Implementations§
impl !Freeze for MouseInputResult
impl !RefUnwindSafe for MouseInputResult
impl !Send for MouseInputResult
impl !Sync for MouseInputResult
impl !UnwindSafe for MouseInputResult
impl Unpin for MouseInputResult
impl UnsafeUnpin for MouseInputResult
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