pub struct UiInput {Show 20 fields
pub ev: u32,
pub btn: u32,
pub pressed: u32,
pub released: u32,
pub x: i32,
pub y: i32,
pub press_x: i32,
pub press_y: i32,
pub wheel_x: i32,
pub wheel_y: i32,
pub mods: u32,
pub pts: Vec<[i32; 2]>,
pub rect: [i32; 4],
pub dpi: i32,
pub key: u32,
pub pressure: u32,
pub ptype: u32,
pub ppress: Vec<u32>,
pub tilt_x: i32,
pub tilt_y: i32,
}Expand description
UIINPUT – pointer state handed to custom widgets (canvas)
Fields§
§ev: u32§btn: u32§pressed: u32§released: u32§x: i32§y: i32§press_x: i32§press_y: i32§wheel_x: i32§wheel_y: i32§mods: u32§pts: Vec<[i32; 2]>§rect: [i32; 4]§dpi: i32§key: u32§pressure: u32§ptype: u32§ppress: Vec<u32>§tilt_x: i32§tilt_y: i32Trait Implementations§
Auto Trait Implementations§
impl Forget for UiInput
impl Freeze for UiInput
impl RefUnwindSafe for UiInput
impl Send for UiInput
impl Sync for UiInput
impl Unpin for UiInput
impl UnsafeUnpin for UiInput
impl UnwindSafe for UiInput
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