pub struct Response {
pub active: bool,
pub activated: bool,
pub deactivated: bool,
pub released: bool,
pub delta: Point<f32>,
pub continuous: bool,
}Expand description
the response of Interact
activated implies active unless deactivated, and released implies deactivated
Fields§
§active: boolthis widget holds a continuous trackpad sequence
activated: bool§deactivated: bool§released: boolthe held sequence ended by lifting rather than being cancelled
delta: Point<f32>scrolling during this update
continuous: booltrackpad scrolling rather than wheel steps
Trait Implementations§
impl Copy for Response
impl StructuralPartialEq for Response
Auto Trait Implementations§
impl Forget for Response
impl Freeze for Response
impl Move for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Response
impl UnwindSafe for Response
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