#[repr(C)]pub struct SDL_MouseWheelEvent {
pub type_: Uint32,
pub timestamp: Uint32,
pub windowID: Uint32,
pub which: Uint32,
pub x: Sint32,
pub y: Sint32,
pub direction: Uint32,
pub preciseX: f32,
pub preciseY: f32,
pub mouseX: Sint32,
pub mouseY: Sint32,
}Fields§
§type_: Uint32§timestamp: Uint32§windowID: Uint32§which: Uint32§x: Sint32§y: Sint32§direction: Uint32§preciseX: f32§preciseY: f32§mouseX: Sint32§mouseY: Sint32Trait Implementations§
Source§impl Clone for SDL_MouseWheelEvent
impl Clone for SDL_MouseWheelEvent
Source§fn clone(&self) -> SDL_MouseWheelEvent
fn clone(&self) -> SDL_MouseWheelEvent
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 moreSource§impl Debug for SDL_MouseWheelEvent
impl Debug for SDL_MouseWheelEvent
impl Copy for SDL_MouseWheelEvent
Auto Trait Implementations§
impl Freeze for SDL_MouseWheelEvent
impl RefUnwindSafe for SDL_MouseWheelEvent
impl Send for SDL_MouseWheelEvent
impl Sync for SDL_MouseWheelEvent
impl Unpin for SDL_MouseWheelEvent
impl UnwindSafe for SDL_MouseWheelEvent
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