pub struct SlotResponse {
pub gestures: Vec<Gesture>,
pub pointer: Option<(f64, f64)>,
pub clicked: bool,
}Expand description
What a paint_slot reported this frame.
Fields§
§gestures: Vec<Gesture>The gestures the slot captured since the last frame (window coordinates).
pointer: Option<(f64, f64)>The pointer over the slot (z-order safe).
clicked: boolClicked or tapped.
Trait Implementations§
Source§impl Clone for SlotResponse
impl Clone for SlotResponse
Source§impl Debug for SlotResponse
impl Debug for SlotResponse
Auto Trait Implementations§
impl Forget for SlotResponse
impl Freeze for SlotResponse
impl Move for SlotResponse
impl RefUnwindSafe for SlotResponse
impl Send for SlotResponse
impl Sync for SlotResponse
impl Unpin for SlotResponse
impl UnsafeUnpin for SlotResponse
impl UnwindSafe for SlotResponse
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