pub fn enable_event(&mut self, event_type: EventType) -> bool {
        let result = unsafe { sys::SDL_EventState(event_type as u32, sys::SDL_ENABLE as c_int) };

        result != sys::SDL_DISABLE as u8
    }
/// Enable an event type. Returns if the event type was enabled before the call.
Enable an event type. Returns if the event type was enabled before the call.
Enable an event type . Returns if the event type was enabled before the call .
pub fn enable_event(&mut self, event_type: EventType) -> bool {
        let result = unsafe { sys::SDL_EventState(event_type as u32, sys::SDL_ENABLE as c_int) };
        result != sys::SDL_DISABLE as u8
    }
pub fn enable_event ( & mut self , event_type : EventType ) -> bool { let result = unsafe { sys :: SDL_EventState ( event_type as u32 , sys :: SDL_ENABLE as c_int ) } ; result != sys :: SDL_DISABLE as u8 }
Enable an event type.
Enable an event type .
&mut self
event_type
EventType
&mut self
event_type
EventType