#[repr(C)]pub struct tm_ui_input_state_t {Show 41 fields
pub time: f64,
pub scale: tm_vec2_t,
pub offset: tm_vec2_t,
pub mouse_pos: tm_vec2_t,
pub mouse_move: tm_vec2_t,
pub mouse_wheel: f32,
pub left_mouse_pressed: bool,
pub left_mouse_released: bool,
pub left_mouse_is_down: bool,
pub right_mouse_pressed: bool,
pub right_mouse_released: bool,
pub right_mouse_is_down: bool,
pub middle_mouse_pressed: bool,
pub middle_mouse_released: bool,
pub middle_mouse_is_down: bool,
pub back_mouse_pressed: bool,
pub back_mouse_released: bool,
pub back_mouse_is_down: bool,
pub left_mouse_pressed_at_time: f64,
pub mouse_move_at_time: f64,
pub double_click: bool,
pub triple_click: bool,
pub pen_pressed: bool,
pub pen_released: bool,
pub pen_is_down: bool,
pub touch_pressed: bool,
pub touch_released: bool,
pub touch_is_down: bool,
pub pressure: f32,
pub pen_erase: bool,
pub _padding_191: [c_char; 3],
pub key_is_down: *mut bool,
pub key_pressed: *mut bool,
pub key_released: *mut bool,
pub key_repeated: *mut bool,
pub modifiers: u32,
pub edit_key_pressed: [bool; 19],
pub _padding_207: [c_char; 1],
pub num_text_input: u32,
pub text_input: [u32; 32],
pub _padding_212: [c_char; 4],
}Fields§
§time: f64§scale: tm_vec2_t§offset: tm_vec2_t§mouse_pos: tm_vec2_t§mouse_move: tm_vec2_t§mouse_wheel: f32§left_mouse_pressed: bool§left_mouse_released: bool§left_mouse_is_down: bool§right_mouse_pressed: bool§right_mouse_released: bool§right_mouse_is_down: bool§middle_mouse_pressed: bool§middle_mouse_released: bool§middle_mouse_is_down: bool§back_mouse_pressed: bool§back_mouse_released: bool§back_mouse_is_down: bool§left_mouse_pressed_at_time: f64§mouse_move_at_time: f64§double_click: bool§triple_click: bool§pen_pressed: bool§pen_released: bool§pen_is_down: bool§touch_pressed: bool§touch_released: bool§touch_is_down: bool§pressure: f32§pen_erase: bool§_padding_191: [c_char; 3]§key_is_down: *mut bool§key_pressed: *mut bool§key_released: *mut bool§key_repeated: *mut bool§modifiers: u32§edit_key_pressed: [bool; 19]§_padding_207: [c_char; 1]§num_text_input: u32§text_input: [u32; 32]§_padding_212: [c_char; 4]Trait Implementations§
Source§impl Clone for tm_ui_input_state_t
impl Clone for tm_ui_input_state_t
Source§fn clone(&self) -> tm_ui_input_state_t
fn clone(&self) -> tm_ui_input_state_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for tm_ui_input_state_t
Auto Trait Implementations§
impl Freeze for tm_ui_input_state_t
impl RefUnwindSafe for tm_ui_input_state_t
impl !Send for tm_ui_input_state_t
impl !Sync for tm_ui_input_state_t
impl Unpin for tm_ui_input_state_t
impl UnsafeUnpin for tm_ui_input_state_t
impl UnwindSafe for tm_ui_input_state_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