#[repr(C)]pub struct screen_touch_status_s_t {
pub touch_status: last_touch_e_t,
pub x: i16,
pub y: i16,
pub press_count: i32,
pub release_count: i32,
}Expand description
Struct representing screen touch status, screen last x, screen last y, press count, release count.
Fields§
§touch_status: last_touch_e_tRepresents if the screen is being held, released, or pressed.
x: i16Represents the x value of the location of the touch.
y: i16Represents the y value of the location of the touch.
press_count: i32Represents how many times the screen has be pressed.
release_count: i32Represents how many times the user released after a touch on the screen.
Auto Trait Implementations§
impl Freeze for screen_touch_status_s_t
impl RefUnwindSafe for screen_touch_status_s_t
impl Send for screen_touch_status_s_t
impl Sync for screen_touch_status_s_t
impl Unpin for screen_touch_status_s_t
impl UnwindSafe for screen_touch_status_s_t
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