///
/// Returns the mouse state when the event occurred.
Returns the mouse state when the event occurred.
Returns the mouse state when the event occurred .
pub fn buttons(&self) -> MouseButtons {
        let (obj_data, funcs) = self.get_wheel_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).buttons)(obj_data);
            let ret_val = MouseButtons::from_bits_truncate(ret_val);
            ret_val
        }
    }
pub fn buttons ( & self ) -> MouseButtons { let ( obj_data , funcs ) = self . get_wheel_event_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . buttons ) ( obj_data ) ; let ret_val = MouseButtons :: from_bits_truncate ( ret_val ) ; ret_val } }
Returns the mouse state when the event occurred.
Returns the mouse state when the event occurred .
&self