pub struct GestureArea {
pub tap_down: Callback<()>,
pub tap_up: Callback<()>,
pub hover_change: Callback<bool>,
}
Create a builder for building GestureArea
.
On the builder, call .tap_down(...)
(optional), .tap_up(...)
(optional), .hover_change(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of GestureArea
.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.