///
/// Returns the type of device that generated the event.
///
/// **See also:** TabletDevice
Returns the type of device that generated the event.
Returns the type of device that generated the event .
pub fn device(&self) -> TabletDevice {
        let (obj_data, funcs) = self.get_tablet_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).device)(obj_data);
            let ret_val = { transmute::<u32, TabletDevice>(ret_val) };
            ret_val
        }
    }
pub fn device ( & self ) -> TabletDevice { let ( obj_data , funcs ) = self . get_tablet_event_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . device ) ( obj_data ) ; let ret_val = { transmute :: < u32 , TabletDevice > ( ret_val ) } ; ret_val } }
Returns the type of device that generated the event.
Returns the type of device that generated the event .
&self