pub struct SAppEvent {Show 16 fields
pub event_type: SAppEventType,
pub frame_count: u32,
pub key_code: SAppKeycode,
pub char_code: u32,
pub modifiers: SAppModifier,
pub mouse_button: SAppMouseButton,
pub mouse_x: f32,
pub mouse_y: f32,
pub scroll_x: f32,
pub scroll_y: f32,
pub num_touches: i32,
pub touches: [SAppTouchPoint; 8],
pub window_width: i32,
pub window_height: i32,
pub framebuffer_width: i32,
pub framebuffer_height: i32,
}Fields§
§event_type: SAppEventType§frame_count: u32§key_code: SAppKeycode§char_code: u32§modifiers: SAppModifier§mouse_x: f32§mouse_y: f32§scroll_x: f32§scroll_y: f32§num_touches: i32§touches: [SAppTouchPoint; 8]§window_width: i32§window_height: i32§framebuffer_width: i32§framebuffer_height: i32Trait Implementations§
Auto Trait Implementations§
impl Freeze for SAppEvent
impl RefUnwindSafe for SAppEvent
impl Send for SAppEvent
impl Sync for SAppEvent
impl Unpin for SAppEvent
impl UnwindSafe for SAppEvent
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