pub struct BasicTouch {
pub down: Signal1<TouchPoint>,
pub move_: Signal1<TouchPoint>,
pub up: Signal1<TouchPoint>,
/* private fields */
}
Fields
down: Signal1<TouchPoint>
move_: Signal1<TouchPoint>
up: Signal1<TouchPoint>
Implementations
Trait Implementations
sourceimpl TouchSystem for BasicTouch
impl TouchSystem for BasicTouch
sourcefn down_signal(&self) -> &Signal1<TouchPoint>
fn down_signal(&self) -> &Signal1<TouchPoint>
Emits a new TouchPoint when a finger presses down on the screen.
sourcefn move_signal(&self) -> &Signal1<TouchPoint>
fn move_signal(&self) -> &Signal1<TouchPoint>
Emits the modified TouchPoint when a finger changes position.
sourcefn up_signal(&self) -> &Signal1<TouchPoint>
fn up_signal(&self) -> &Signal1<TouchPoint>
Emits the removed TouchPoint when a finger is raised from the screen.
sourcefn is_supported(&self) -> bool
fn is_supported(&self) -> bool
True if the environment has a touch screen.
sourcefn max_points(&self) -> i32
fn max_points(&self) -> i32
The maximum number of touch points that can be detected at once.
Auto Trait Implementations
impl !RefUnwindSafe for BasicTouch
impl !Send for BasicTouch
impl !Sync for BasicTouch
impl Unpin for BasicTouch
impl !UnwindSafe for BasicTouch
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
sourcefn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.