var searchIndex = {}; searchIndex["sdl2"] = {"doc":"","items":[[3,"Sdl","sdl2","The SDL context type. Initialize with `sdl2::init()`.",null,null],[3,"Subsystem","","A RAII value representing initalized SDL subsystems. See `sdl2::Sdl::init_subsystem()`.",null,null],[3,"InitBuilder","","The type that allows you to build the SDL2 context.",null,null],[4,"Error","","",null,null],[13,"NoMemError","","",0,null],[13,"ReadError","","",0,null],[13,"WriteError","","",0,null],[13,"SeekError","","",0,null],[13,"UnsupportedError","","",0,null],[5,"init","","Initializes the SDL library.\nThis must be called before using any other SDL function.",null,{"inputs":[],"output":{"name":"initbuilder"}}],[5,"get_error","","",null,{"inputs":[],"output":{"name":"string"}}],[5,"set_error","","",null,{"inputs":[{"name":"str"}],"output":null}],[5,"set_error_from_code","","",null,{"inputs":[{"name":"error"}],"output":null}],[5,"clear_error","","",null,{"inputs":[],"output":null}],[0,"clipboard","","",null,null],[5,"set_clipboard_text","sdl2::clipboard","",null,{"inputs":[{"name":"string"}],"output":{"name":"sdlresult"}}],[5,"get_clipboard_text","","",null,{"inputs":[],"output":{"name":"sdlresult"}}],[5,"has_clipboard_text","","",null,{"inputs":[],"output":{"name":"bool"}}],[0,"cpuinfo","sdl2","",null,null],[5,"get_cpu_count","sdl2::cpuinfo","",null,{"inputs":[],"output":{"name":"i32"}}],[5,"get_cpu_cache_line_size","","",null,{"inputs":[],"output":{"name":"i32"}}],[5,"has_rdtsc","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"has_alti_vec","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"has_mmx","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"has_3d_now","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"has_sse","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"has_sse2","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"has_sse3","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"has_sse41","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"has_sse42","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"has_avx","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"get_system_ram","","",null,{"inputs":[],"output":{"name":"i32"}}],[17,"CACHELINESIZE","","",null,null],[0,"event","sdl2","Event Handling",null,null],[3,"EventPump","sdl2::event","A thread-safe type that encapsulates SDL event-pumping functions.",null,null],[3,"EventPollIterator","","An iterator that calls `EventPump::poll_event()`.",null,null],[3,"EventWaitIterator","","An iterator that calls `EventPump::wait_event()`.",null,null],[3,"EventWaitTimeoutIterator","","An iterator that calls `EventPump::wait_event_timeout()`.",null,null],[4,"EventType","","Types of events that can be delivered.",null,null],[13,"First","","",1,null],[13,"Quit","","",1,null],[13,"AppTerminating","","",1,null],[13,"AppLowMemory","","",1,null],[13,"AppWillEnterBackground","","",1,null],[13,"AppDidEnterBackground","","",1,null],[13,"AppWillEnterForeground","","",1,null],[13,"AppDidEnterForeground","","",1,null],[13,"Window","","",1,null],[13,"KeyDown","","",1,null],[13,"KeyUp","","",1,null],[13,"TextEditing","","",1,null],[13,"TextInput","","",1,null],[13,"MouseMotion","","",1,null],[13,"MouseButtonDown","","",1,null],[13,"MouseButtonUp","","",1,null],[13,"MouseWheel","","",1,null],[13,"JoyAxisMotion","","",1,null],[13,"JoyBallMotion","","",1,null],[13,"JoyHatMotion","","",1,null],[13,"JoyButtonDown","","",1,null],[13,"JoyButtonUp","","",1,null],[13,"JoyDeviceAdded","","",1,null],[13,"JoyDeviceRemoved","","",1,null],[13,"ControllerAxisMotion","","",1,null],[13,"ControllerButtonDown","","",1,null],[13,"ControllerButtonUp","","",1,null],[13,"ControllerDeviceAdded","","",1,null],[13,"ControllerDeviceRemoved","","",1,null],[13,"ControllerDeviceRemapped","","",1,null],[13,"FingerDown","","",1,null],[13,"FingerUp","","",1,null],[13,"FingerMotion","","",1,null],[13,"DollarGesture","","",1,null],[13,"DollarRecord","","",1,null],[13,"MultiGesture","","",1,null],[13,"ClipboardUpdate","","",1,null],[13,"DropFile","","",1,null],[13,"User","","",1,null],[13,"Last","","",1,null],[4,"WindowEventId","","An enum of window events.",null,null],[13,"None","","",2,null],[13,"Shown","","",2,null],[13,"Hidden","","",2,null],[13,"Exposed","","",2,null],[13,"Moved","","",2,null],[13,"Resized","","",2,null],[13,"SizeChanged","","",2,null],[13,"Minimized","","",2,null],[13,"Maximized","","",2,null],[13,"Restored","","",2,null],[13,"Enter","","",2,null],[13,"Leave","","",2,null],[13,"FocusGained","","",2,null],[13,"FocusLost","","",2,null],[13,"Close","","",2,null],[4,"Event","","Different event types.",null,null],[13,"Quit","","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[13,"AppTerminating","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[13,"AppLowMemory","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[13,"AppWillEnterBackground","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[13,"AppDidEnterBackground","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[13,"AppWillEnterForeground","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[13,"AppDidEnterForeground","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[13,"Window","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"window_id","","",3,null],[12,"win_event_id","","",3,null],[12,"data1","","",3,null],[12,"data2","","",3,null],[13,"KeyDown","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"window_id","","",3,null],[12,"keycode","","",3,null],[12,"scancode","","",3,null],[12,"keymod","","",3,null],[12,"repeat","","",3,null],[13,"KeyUp","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"window_id","","",3,null],[12,"keycode","","",3,null],[12,"scancode","","",3,null],[12,"keymod","","",3,null],[12,"repeat","","",3,null],[13,"TextEditing","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"window_id","","",3,null],[12,"text","","",3,null],[12,"start","","",3,null],[12,"length","","",3,null],[13,"TextInput","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"window_id","","",3,null],[12,"text","","",3,null],[13,"MouseMotion","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"window_id","","",3,null],[12,"which","","",3,null],[12,"mousestate","","",3,null],[12,"x","","",3,null],[12,"y","","",3,null],[12,"xrel","","",3,null],[12,"yrel","","",3,null],[13,"MouseButtonDown","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"window_id","","",3,null],[12,"which","","",3,null],[12,"mouse_btn","","",3,null],[12,"x","","",3,null],[12,"y","","",3,null],[13,"MouseButtonUp","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"window_id","","",3,null],[12,"which","","",3,null],[12,"mouse_btn","","",3,null],[12,"x","","",3,null],[12,"y","","",3,null],[13,"MouseWheel","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"window_id","","",3,null],[12,"which","","",3,null],[12,"x","","",3,null],[12,"y","","",3,null],[13,"JoyAxisMotion","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[12,"axis_idx","","",3,null],[12,"value","","",3,null],[13,"JoyBallMotion","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[12,"ball_idx","","",3,null],[12,"xrel","","",3,null],[12,"yrel","","",3,null],[13,"JoyHatMotion","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[12,"hat_idx","","",3,null],[12,"state","","",3,null],[13,"JoyButtonDown","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[12,"button_idx","","",3,null],[13,"JoyButtonUp","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[12,"button_idx","","",3,null],[13,"JoyDeviceAdded","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[13,"JoyDeviceRemoved","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[13,"ControllerAxisMotion","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[12,"axis","","",3,null],[12,"value","","",3,null],[13,"ControllerButtonDown","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[12,"button","","",3,null],[13,"ControllerButtonUp","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[12,"button","","",3,null],[13,"ControllerDeviceAdded","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[13,"ControllerDeviceRemoved","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[13,"ControllerDeviceRemapped","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"which","","",3,null],[13,"FingerDown","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"touch_id","","",3,null],[12,"finger_id","","",3,null],[12,"x","","",3,null],[12,"y","","",3,null],[12,"dx","","",3,null],[12,"dy","","",3,null],[12,"pressure","","",3,null],[13,"FingerUp","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"touch_id","","",3,null],[12,"finger_id","","",3,null],[12,"x","","",3,null],[12,"y","","",3,null],[12,"dx","","",3,null],[12,"dy","","",3,null],[12,"pressure","","",3,null],[13,"FingerMotion","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"touch_id","","",3,null],[12,"finger_id","","",3,null],[12,"x","","",3,null],[12,"y","","",3,null],[12,"dx","","",3,null],[12,"dy","","",3,null],[12,"pressure","","",3,null],[13,"DollarGesture","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"touch_id","","",3,null],[12,"gesture_id","","",3,null],[12,"num_fingers","","",3,null],[12,"error","","",3,null],[12,"x","","",3,null],[12,"y","","",3,null],[13,"DollarRecord","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"touch_id","","",3,null],[12,"gesture_id","","",3,null],[12,"num_fingers","","",3,null],[12,"error","","",3,null],[12,"x","","",3,null],[12,"y","","",3,null],[13,"MultiGesture","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"touch_id","","",3,null],[12,"d_theta","","",3,null],[12,"d_dist","","",3,null],[12,"x","","",3,null],[12,"y","","",3,null],[12,"num_fingers","","",3,null],[13,"ClipboardUpdate","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[13,"DropFile","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"filename","","",3,null],[13,"User","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"window_id","","",3,null],[12,"type_","","",3,null],[12,"code","","",3,null],[13,"Unknown","sdl2::event","",3,null],[12,"timestamp","sdl2::event::Event","",3,null],[12,"type_","","",3,null],[5,"flush_event","sdl2::event","Removes all events in the event queue that match the specified event type.",null,{"inputs":[{"name":"eventtype"}],"output":null}],[5,"flush_events","","Removes all events in the event queue that match the specified type range.",null,{"inputs":[{"name":"u32"},{"name":"u32"}],"output":null}],[5,"peek_events","","Reads the events at the front of the event queue, until the maximum amount\nof events is read.",null,{"inputs":[{"name":"u32"}],"output":{"name":"b"}}],[5,"push_event","","Pushes an event to the event queue.",null,{"inputs":[{"name":"event"}],"output":{"name":"sdlresult"}}],[11,"fmt","","",1,null],[11,"hash","","",1,null],[11,"eq","","",1,null],[11,"clone","","",1,null],[11,"from_i64","","",1,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_u64","","",1,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[11,"fmt","","",2,null],[11,"hash","","",2,null],[11,"eq","","",2,null],[11,"clone","","",2,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"clone","","",3,null],[11,"fmt","","",3,null],[11,"is_event_enabled","","Query if an event type is enabled.",4,null],[11,"enable_event","","Enable an event type. Returns if the event type was enabled before the call.",4,null],[11,"disable_event","","Disable an event type. Returns if the event type was enabled before the call.",4,null],[11,"poll_event","","Polls for currently pending events.",4,null],[11,"poll_iter","","Returns a polling iterator that calls `poll_event()`.\nThe iterator will terminate once there are no more pending events.",4,null],[11,"pump_events","","Pumps the event loop, gathering events from the input devices.",4,null],[11,"wait_event","","Waits indefinitely for the next available event.",4,null],[11,"wait_event_timeout","","Waits until the specified timeout (in milliseconds) for the next available event.",4,null],[11,"wait_iter","","Returns a waiting iterator that calls `wait_event()`.",4,null],[11,"wait_timeout_iter","","Returns a waiting iterator that calls `wait_event_timeout()`.",4,null],[11,"new","","Obtains the SDL event pump.",4,{"inputs":[{"name":"sdl"}],"output":{"name":"eventpump"}}],[11,"next","","",5,null],[11,"next","","",6,null],[11,"next","","",7,null],[0,"filesystem","sdl2","",null,null],[5,"get_base_path","sdl2::filesystem","",null,{"inputs":[],"output":{"name":"sdlresult"}}],[5,"get_pref_path","","",null,{"inputs":[{"name":"str"},{"name":"str"}],"output":{"name":"sdlresult"}}],[0,"gesture","sdl2","",null,null],[0,"touch","","",null,null],[5,"get_num_touch_devices","sdl2::touch","",null,{"inputs":[],"output":{"name":"i32"}}],[5,"get_touch_device","","",null,{"inputs":[{"name":"i32"}],"output":{"name":"touchdevice"}}],[5,"get_num_touch_fingers","","",null,{"inputs":[{"name":"touchdevice"}],"output":{"name":"i32"}}],[5,"get_touch_finger","","",null,{"inputs":[{"name":"touchdevice"},{"name":"i32"}],"output":{"name":"option"}}],[6,"Finger","","",null,null],[6,"TouchDevice","","",null,null],[0,"joystick","sdl2","",null,null],[3,"Joystick","sdl2::joystick","Wrapper around the SDL_Joystick object",null,null],[3,"Guid","","Wrapper around a SDL_JoystickGUID, a globally unique identifier\nfor a joystick.",null,null],[4,"HatState","","This is represented in SDL2 as a bitfield but obviously not all\ncombinations make sense: 5 for instance would mean up and down at\nthe same time... To simplify things I turn it into an enum which\nis how the SDL2 docs present it anyway (using macros).",null,null],[13,"Centered","","",8,null],[13,"Up","","",8,null],[13,"Right","","",8,null],[13,"Down","","",8,null],[13,"Left","","",8,null],[13,"RightUp","","",8,null],[13,"RightDown","","",8,null],[13,"LeftUp","","",8,null],[13,"Leftdown","","",8,null],[5,"num_joysticks","","Retreive the total number of attached joysticks *and* controllers\nidentified by SDL.",null,{"inputs":[],"output":{"name":"sdlresult"}}],[5,"get_device_guid","","Get the GUID for the joystick number `id`",null,{"inputs":[{"name":"i32"}],"output":{"name":"sdlresult"}}],[5,"set_event_state","","If state is `true` joystick events are processed, otherwise\nthey're ignored.",null,{"inputs":[{"name":"bool"}],"output":null}],[5,"get_event_state","","Return `true` if joystick events are processed.",null,{"inputs":[],"output":{"name":"bool"}}],[5,"name_for_index","","Return the name of the joystick at index `id`",null,{"inputs":[{"name":"i32"}],"output":{"name":"sdlresult"}}],[5,"update","","Force joystick update when not using the event loop",null,{"inputs":[],"output":null}],[11,"open","","Attempt to open the joystick at number `id` and return it.",9,{"inputs":[{"name":"i32"}],"output":{"name":"sdlresult"}}],[11,"name","","Return the name of the joystick or an empty string if no name\nis found.",9,null],[11,"get_attached","","Return true if the joystick has been opened and currently\nconnected.",9,null],[11,"get_instance_id","","",9,null],[11,"get_guid","","Retreive the joystick's GUID",9,null],[11,"get_num_axes","","Retreive the number of axes for this joystick",9,null],[11,"get_axis","","Gets the position of the given `axis`.",9,null],[11,"get_num_buttons","","Retreive the number of buttons for this joystick",9,null],[11,"get_button","","Return `Ok(true)` if `button` is pressed.",9,null],[11,"get_num_balls","","Retreive the number of balls for this joystick",9,null],[11,"get_ball","","Return a pair `(dx, dy)` containing the difference in axis\nposition since the last poll",9,null],[11,"get_num_hats","","Retreive the number of balls for this joystick",9,null],[11,"get_hat","","Return the position of `hat` for this joystick",9,null],[11,"drop","","",9,null],[11,"hash","","",10,null],[11,"eq","","",10,null],[11,"ne","","",10,null],[11,"clone","","",10,null],[11,"from_string","","Create a GUID from a string representation.",10,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"is_zero","","Return `true` if GUID is full 0s",10,null],[11,"get_string","","Return a String representation of GUID",10,null],[11,"raw","","Return a copy of the internal SDL_JoystickGUID",10,null],[11,"fmt","","",10,null],[11,"fmt","","",8,null],[11,"hash","","",8,null],[11,"eq","","",8,null],[11,"clone","","",8,null],[11,"from_raw","","",8,{"inputs":[{"name":"u8"}],"output":{"name":"hatstate"}}],[0,"controller","sdl2","",null,null],[3,"GameController","sdl2::controller","Wrapper around the SDL_GameController object",null,null],[4,"Axis","","",null,null],[13,"LeftX","","",11,null],[13,"LeftY","","",11,null],[13,"RightX","","",11,null],[13,"RightY","","",11,null],[13,"TriggerLeft","","",11,null],[13,"TriggerRight","","",11,null],[4,"Button","","",null,null],[13,"A","","",12,null],[13,"B","","",12,null],[13,"X","","",12,null],[13,"Y","","",12,null],[13,"Back","","",12,null],[13,"Guide","","",12,null],[13,"Start","","",12,null],[13,"LeftStick","","",12,null],[13,"RightStick","","",12,null],[13,"LeftShoulder","","",12,null],[13,"RightShoulder","","",12,null],[13,"DPadUp","","",12,null],[13,"DPadDown","","",12,null],[13,"DPadLeft","","",12,null],[13,"DPadRight","","",12,null],[4,"MappingStatus","","Possible return values for `add_mapping`",null,null],[13,"Added","","",13,null],[13,"Updated","","",13,null],[5,"is_game_controller","","Return true if the joystick at index `id` is a game controller.",null,{"inputs":[{"name":"i32"}],"output":{"name":"bool"}}],[5,"name_for_index","","Return the name of the controller at index `id`",null,{"inputs":[{"name":"i32"}],"output":{"name":"sdlresult"}}],[5,"update","","Force controller update when not using the event loop",null,{"inputs":[],"output":null}],[5,"set_event_state","","If state is `true` controller events are processed, otherwise\nthey're ignored.",null,{"inputs":[{"name":"bool"}],"output":null}],[5,"get_event_state","","Return `true` if controller events are processed.",null,{"inputs":[],"output":{"name":"bool"}}],[5,"add_mapping","","Add a new mapping from a mapping string",null,{"inputs":[{"name":"str"}],"output":{"name":"sdlresult"}}],[5,"mapping_for_guid","","",null,{"inputs":[{"name":"guid"}],"output":{"name":"sdlresult"}}],[11,"fmt","","",11,null],[11,"hash","","",11,null],[11,"eq","","",11,null],[11,"clone","","",11,null],[11,"from_string","","Return the Axis from a string description in the same format\nused by the game controller mapping strings.",11,{"inputs":[{"name":"str"}],"output":{"name":"option"}}],[11,"get_string","","Return a string for a given axis in the same format using by\nthe game controller mapping strings",11,null],[11,"from_ll","","",11,{"inputs":[{"name":"sdl_gamecontrolleraxis"}],"output":{"name":"option"}}],[11,"fmt","","",12,null],[11,"hash","","",12,null],[11,"eq","","",12,null],[11,"clone","","",12,null],[11,"from_string","","Return the Button from a string description in the same format\nused by the game controller mapping strings.",12,{"inputs":[{"name":"str"}],"output":{"name":"option"}}],[11,"get_string","","Return a string for a given button in the same format using by\nthe game controller mapping strings",12,null],[11,"from_ll","","",12,{"inputs":[{"name":"sdl_gamecontrollerbutton"}],"output":{"name":"option"}}],[11,"fmt","","",13,null],[11,"hash","","",13,null],[11,"eq","","",13,null],[11,"clone","","",13,null],[11,"open","","Attempt to open the controller number `id` and return\nit. Controller IDs are the same as joystick IDs and the\nmaximum number can be retreived using the `SDL_NumJoysticks`\nfunction.",14,{"inputs":[{"name":"i32"}],"output":{"name":"sdlresult"}}],[11,"name","","Return the name of the controller or an empty string if no\nname is found.",14,null],[11,"mapping","","Return a String describing the controller's button and axis\nmappings",14,null],[11,"get_attached","","Return true if the controller has been opened and currently\nconnected.",14,null],[11,"get_axis","","Get the position of the given `axis`",14,null],[11,"get_button","","Returns `true` if `button` is pressed.",14,null],[11,"drop","","",14,null],[0,"haptic","sdl2","Haptic Functions",null,null],[0,"keyboard","","",null,null],[3,"Mod","sdl2::keyboard","",null,null],[3,"KeyboardState","","",null,null],[3,"ScancodeIterator","","",null,null],[3,"PressedScancodeIterator","","",null,null],[4,"Keycode","","",null,null],[13,"Backspace","","",15,null],[13,"Tab","","",15,null],[13,"Return","","",15,null],[13,"Escape","","",15,null],[13,"Space","","",15,null],[13,"Exclaim","","",15,null],[13,"Quotedbl","","",15,null],[13,"Hash","","",15,null],[13,"Dollar","","",15,null],[13,"Percent","","",15,null],[13,"Ampersand","","",15,null],[13,"Quote","","",15,null],[13,"LeftParen","","",15,null],[13,"RightParen","","",15,null],[13,"Asterisk","","",15,null],[13,"Plus","","",15,null],[13,"Comma","","",15,null],[13,"Minus","","",15,null],[13,"Period","","",15,null],[13,"Slash","","",15,null],[13,"Num0","","",15,null],[13,"Num1","","",15,null],[13,"Num2","","",15,null],[13,"Num3","","",15,null],[13,"Num4","","",15,null],[13,"Num5","","",15,null],[13,"Num6","","",15,null],[13,"Num7","","",15,null],[13,"Num8","","",15,null],[13,"Num9","","",15,null],[13,"Colon","","",15,null],[13,"Semicolon","","",15,null],[13,"Less","","",15,null],[13,"Equals","","",15,null],[13,"Greater","","",15,null],[13,"Question","","",15,null],[13,"At","","",15,null],[13,"LeftBracket","","",15,null],[13,"Backslash","","",15,null],[13,"RightBracket","","",15,null],[13,"Caret","","",15,null],[13,"Underscore","","",15,null],[13,"Backquote","","",15,null],[13,"A","","",15,null],[13,"B","","",15,null],[13,"C","","",15,null],[13,"D","","",15,null],[13,"E","","",15,null],[13,"F","","",15,null],[13,"G","","",15,null],[13,"H","","",15,null],[13,"I","","",15,null],[13,"J","","",15,null],[13,"K","","",15,null],[13,"L","","",15,null],[13,"M","","",15,null],[13,"N","","",15,null],[13,"O","","",15,null],[13,"P","","",15,null],[13,"Q","","",15,null],[13,"R","","",15,null],[13,"S","","",15,null],[13,"T","","",15,null],[13,"U","","",15,null],[13,"V","","",15,null],[13,"W","","",15,null],[13,"X","","",15,null],[13,"Y","","",15,null],[13,"Z","","",15,null],[13,"Delete","","",15,null],[13,"CapsLock","","",15,null],[13,"F1","","",15,null],[13,"F2","","",15,null],[13,"F3","","",15,null],[13,"F4","","",15,null],[13,"F5","","",15,null],[13,"F6","","",15,null],[13,"F7","","",15,null],[13,"F8","","",15,null],[13,"F9","","",15,null],[13,"F10","","",15,null],[13,"F11","","",15,null],[13,"F12","","",15,null],[13,"PrintScreen","","",15,null],[13,"ScrollLock","","",15,null],[13,"Pause","","",15,null],[13,"Insert","","",15,null],[13,"Home","","",15,null],[13,"PageUp","","",15,null],[13,"End","","",15,null],[13,"PageDown","","",15,null],[13,"Right","","",15,null],[13,"Left","","",15,null],[13,"Down","","",15,null],[13,"Up","","",15,null],[13,"NumLockClear","","",15,null],[13,"KpDivide","","",15,null],[13,"KpMultiply","","",15,null],[13,"KpMinus","","",15,null],[13,"KpPlus","","",15,null],[13,"KpEnter","","",15,null],[13,"Kp1","","",15,null],[13,"Kp2","","",15,null],[13,"Kp3","","",15,null],[13,"Kp4","","",15,null],[13,"Kp5","","",15,null],[13,"Kp6","","",15,null],[13,"Kp7","","",15,null],[13,"Kp8","","",15,null],[13,"Kp9","","",15,null],[13,"Kp0","","",15,null],[13,"KpPeriod","","",15,null],[13,"Application","","",15,null],[13,"Power","","",15,null],[13,"KpEquals","","",15,null],[13,"F13","","",15,null],[13,"F14","","",15,null],[13,"F15","","",15,null],[13,"F16","","",15,null],[13,"F17","","",15,null],[13,"F18","","",15,null],[13,"F19","","",15,null],[13,"F20","","",15,null],[13,"F21","","",15,null],[13,"F22","","",15,null],[13,"F23","","",15,null],[13,"F24","","",15,null],[13,"Execute","","",15,null],[13,"Help","","",15,null],[13,"Menu","","",15,null],[13,"Select","","",15,null],[13,"Stop","","",15,null],[13,"Again","","",15,null],[13,"Undo","","",15,null],[13,"Cut","","",15,null],[13,"Copy","","",15,null],[13,"Paste","","",15,null],[13,"Find","","",15,null],[13,"Mute","","",15,null],[13,"VolumeUp","","",15,null],[13,"VolumeDown","","",15,null],[13,"KpComma","","",15,null],[13,"KpEqualsAS400","","",15,null],[13,"AltErase","","",15,null],[13,"Sysreq","","",15,null],[13,"Cancel","","",15,null],[13,"Clear","","",15,null],[13,"Prior","","",15,null],[13,"Return2","","",15,null],[13,"Separator","","",15,null],[13,"Out","","",15,null],[13,"Oper","","",15,null],[13,"ClearAgain","","",15,null],[13,"CrSel","","",15,null],[13,"ExSel","","",15,null],[13,"Kp00","","",15,null],[13,"Kp000","","",15,null],[13,"ThousandsSeparator","","",15,null],[13,"DecimalSeparator","","",15,null],[13,"CurrencyUnit","","",15,null],[13,"CurrencySubUnit","","",15,null],[13,"KpLeftParen","","",15,null],[13,"KpRightParen","","",15,null],[13,"KpLeftBrace","","",15,null],[13,"KpRightBrace","","",15,null],[13,"KpTab","","",15,null],[13,"KpBackspace","","",15,null],[13,"KpA","","",15,null],[13,"KpB","","",15,null],[13,"KpC","","",15,null],[13,"KpD","","",15,null],[13,"KpE","","",15,null],[13,"KpF","","",15,null],[13,"KpXor","","",15,null],[13,"KpPower","","",15,null],[13,"KpPercent","","",15,null],[13,"KpLess","","",15,null],[13,"KpGreater","","",15,null],[13,"KpAmpersand","","",15,null],[13,"KpDblAmpersand","","",15,null],[13,"KpVerticalBar","","",15,null],[13,"KpDblVerticalBar","","",15,null],[13,"KpColon","","",15,null],[13,"KpHash","","",15,null],[13,"KpSpace","","",15,null],[13,"KpAt","","",15,null],[13,"KpExclam","","",15,null],[13,"KpMemStore","","",15,null],[13,"KpMemRecall","","",15,null],[13,"KpMemClear","","",15,null],[13,"KpMemAdd","","",15,null],[13,"KpMemSubtract","","",15,null],[13,"KpMemMultiply","","",15,null],[13,"KpMemDivide","","",15,null],[13,"KpPlusMinus","","",15,null],[13,"KpCear","","",15,null],[13,"KpClearEntry","","",15,null],[13,"KpBinary","","",15,null],[13,"KpOctal","","",15,null],[13,"KpDecimal","","",15,null],[13,"KpHexadecimal","","",15,null],[13,"LCtrl","","",15,null],[13,"LShift","","",15,null],[13,"LAlt","","",15,null],[13,"LGui","","",15,null],[13,"RCtrl","","",15,null],[13,"RShift","","",15,null],[13,"RAlt","","",15,null],[13,"RGui","","",15,null],[13,"Mode","","",15,null],[13,"AudioNext","","",15,null],[13,"AudioPrev","","",15,null],[13,"AudioStop","","",15,null],[13,"AudioPlay","","",15,null],[13,"AudioMute","","",15,null],[13,"MediaSelect","","",15,null],[13,"Www","","",15,null],[13,"Mail","","",15,null],[13,"Calculator","","",15,null],[13,"Computer","","",15,null],[13,"AcSearch","","",15,null],[13,"AcHome","","",15,null],[13,"AcBack","","",15,null],[13,"AcForward","","",15,null],[13,"AcStop","","",15,null],[13,"AcRefresh","","",15,null],[13,"AcBookmarks","","",15,null],[13,"BrightnessDown","","",15,null],[13,"BrightnessUp","","",15,null],[13,"DisplaySwitch","","",15,null],[13,"KbdIllumToggle","","",15,null],[13,"KbdIllumDown","","",15,null],[13,"KbdIllumUp","","",15,null],[13,"Eject","","",15,null],[13,"Sleep","","",15,null],[4,"Scancode","","",null,null],[13,"A","","",16,null],[13,"B","","",16,null],[13,"C","","",16,null],[13,"D","","",16,null],[13,"E","","",16,null],[13,"F","","",16,null],[13,"G","","",16,null],[13,"H","","",16,null],[13,"I","","",16,null],[13,"J","","",16,null],[13,"K","","",16,null],[13,"L","","",16,null],[13,"M","","",16,null],[13,"N","","",16,null],[13,"O","","",16,null],[13,"P","","",16,null],[13,"Q","","",16,null],[13,"R","","",16,null],[13,"S","","",16,null],[13,"T","","",16,null],[13,"U","","",16,null],[13,"V","","",16,null],[13,"W","","",16,null],[13,"X","","",16,null],[13,"Y","","",16,null],[13,"Z","","",16,null],[13,"Num1","","",16,null],[13,"Num2","","",16,null],[13,"Num3","","",16,null],[13,"Num4","","",16,null],[13,"Num5","","",16,null],[13,"Num6","","",16,null],[13,"Num7","","",16,null],[13,"Num8","","",16,null],[13,"Num9","","",16,null],[13,"Num0","","",16,null],[13,"Return","","",16,null],[13,"Escape","","",16,null],[13,"Backspace","","",16,null],[13,"Tab","","",16,null],[13,"Space","","",16,null],[13,"Minus","","",16,null],[13,"Equals","","",16,null],[13,"LeftBracket","","",16,null],[13,"RightBracket","","",16,null],[13,"Backslash","","",16,null],[13,"NonUsHash","","",16,null],[13,"Semicolon","","",16,null],[13,"Apostrophe","","",16,null],[13,"Grave","","",16,null],[13,"Comma","","",16,null],[13,"Period","","",16,null],[13,"Slash","","",16,null],[13,"CapsLock","","",16,null],[13,"F1","","",16,null],[13,"F2","","",16,null],[13,"F3","","",16,null],[13,"F4","","",16,null],[13,"F5","","",16,null],[13,"F6","","",16,null],[13,"F7","","",16,null],[13,"F8","","",16,null],[13,"F9","","",16,null],[13,"F10","","",16,null],[13,"F11","","",16,null],[13,"F12","","",16,null],[13,"PrintScreen","","",16,null],[13,"ScrollLock","","",16,null],[13,"Pause","","",16,null],[13,"Insert","","",16,null],[13,"Home","","",16,null],[13,"PageUp","","",16,null],[13,"Delete","","",16,null],[13,"End","","",16,null],[13,"PageDown","","",16,null],[13,"Right","","",16,null],[13,"Left","","",16,null],[13,"Down","","",16,null],[13,"Up","","",16,null],[13,"NumLockClear","","",16,null],[13,"KpDivide","","",16,null],[13,"KpMultiply","","",16,null],[13,"KpMinus","","",16,null],[13,"KpPlus","","",16,null],[13,"KpEnter","","",16,null],[13,"Kp1","","",16,null],[13,"Kp2","","",16,null],[13,"Kp3","","",16,null],[13,"Kp4","","",16,null],[13,"Kp5","","",16,null],[13,"Kp6","","",16,null],[13,"Kp7","","",16,null],[13,"Kp8","","",16,null],[13,"Kp9","","",16,null],[13,"Kp0","","",16,null],[13,"KpPeriod","","",16,null],[13,"NonUsBackslash","","",16,null],[13,"Application","","",16,null],[13,"Power","","",16,null],[13,"KpEquals","","",16,null],[13,"F13","","",16,null],[13,"F14","","",16,null],[13,"F15","","",16,null],[13,"F16","","",16,null],[13,"F17","","",16,null],[13,"F18","","",16,null],[13,"F19","","",16,null],[13,"F20","","",16,null],[13,"F21","","",16,null],[13,"F22","","",16,null],[13,"F23","","",16,null],[13,"F24","","",16,null],[13,"Execute","","",16,null],[13,"Help","","",16,null],[13,"Menu","","",16,null],[13,"Select","","",16,null],[13,"Stop","","",16,null],[13,"Again","","",16,null],[13,"Undo","","",16,null],[13,"Cut","","",16,null],[13,"Copy","","",16,null],[13,"Paste","","",16,null],[13,"Find","","",16,null],[13,"Mute","","",16,null],[13,"VolumeUp","","",16,null],[13,"VolumeDown","","",16,null],[13,"KpComma","","",16,null],[13,"KpEqualsAS400","","",16,null],[13,"International1","","",16,null],[13,"International2","","",16,null],[13,"International3","","",16,null],[13,"International4","","",16,null],[13,"International5","","",16,null],[13,"International6","","",16,null],[13,"International7","","",16,null],[13,"International8","","",16,null],[13,"International9","","",16,null],[13,"Lang1","","",16,null],[13,"Lang2","","",16,null],[13,"Lang3","","",16,null],[13,"Lang4","","",16,null],[13,"Lang5","","",16,null],[13,"Lang6","","",16,null],[13,"Lang7","","",16,null],[13,"Lang8","","",16,null],[13,"Lang9","","",16,null],[13,"AltErase","","",16,null],[13,"SysReq","","",16,null],[13,"Cancel","","",16,null],[13,"Clear","","",16,null],[13,"Prior","","",16,null],[13,"Return2","","",16,null],[13,"Separator","","",16,null],[13,"Out","","",16,null],[13,"Oper","","",16,null],[13,"ClearAgain","","",16,null],[13,"Crse","","",16,null],[13,"ExseL","","",16,null],[13,"Kp00","","",16,null],[13,"Kp000","","",16,null],[13,"ThousandsSeparator","","",16,null],[13,"DecimalSeparator","","",16,null],[13,"CurrencyUnit","","",16,null],[13,"CurrencySubUnit","","",16,null],[13,"KpLeftParen","","",16,null],[13,"KpRightParen","","",16,null],[13,"KpLeftBrace","","",16,null],[13,"KpRightBrace","","",16,null],[13,"KpTab","","",16,null],[13,"KpBackspace","","",16,null],[13,"KpA","","",16,null],[13,"KpB","","",16,null],[13,"KpC","","",16,null],[13,"KpD","","",16,null],[13,"KpE","","",16,null],[13,"KpF","","",16,null],[13,"KpXor","","",16,null],[13,"KpPower","","",16,null],[13,"KpPercent","","",16,null],[13,"KpLess","","",16,null],[13,"KpGreater","","",16,null],[13,"KpAmpersand","","",16,null],[13,"KpDblAmpersand","","",16,null],[13,"KpVerticalBar","","",16,null],[13,"KpDblVerticalBar","","",16,null],[13,"KpColon","","",16,null],[13,"KpHash","","",16,null],[13,"KpSpace","","",16,null],[13,"KpAt","","",16,null],[13,"KpExclam","","",16,null],[13,"KpMemStore","","",16,null],[13,"KpMemRecall","","",16,null],[13,"KpMemClear","","",16,null],[13,"KpMemAdd","","",16,null],[13,"KpMemSubtract","","",16,null],[13,"KpMemMultiply","","",16,null],[13,"KpMemDivide","","",16,null],[13,"KpPlusMinus","","",16,null],[13,"KpClear","","",16,null],[13,"KpClearEntry","","",16,null],[13,"KpBinary","","",16,null],[13,"KpOoctal","","",16,null],[13,"KpDecimal","","",16,null],[13,"KpHexadecimal","","",16,null],[13,"LCtrl","","",16,null],[13,"LShift","","",16,null],[13,"LAlt","","",16,null],[13,"LGui","","",16,null],[13,"RCtrl","","",16,null],[13,"RShift","","",16,null],[13,"RAlt","","",16,null],[13,"RGui","","",16,null],[13,"Mode","","",16,null],[13,"AudioNext","","",16,null],[13,"AudioPrev","","",16,null],[13,"AudioStop","","",16,null],[13,"AudioPlay","","",16,null],[13,"AudioMute","","",16,null],[13,"MediaSelect","","",16,null],[13,"Www","","",16,null],[13,"Mail","","",16,null],[13,"Calculator","","",16,null],[13,"Computer","","",16,null],[13,"AcSearch","","",16,null],[13,"AcHome","","",16,null],[13,"AcBack","","",16,null],[13,"AcForward","","",16,null],[13,"AcStop","","",16,null],[13,"AcRefresh","","",16,null],[13,"AcBookmarks","","",16,null],[13,"BrightnessDown","","",16,null],[13,"BrightnessUp","","",16,null],[13,"DisplaySwitch","","",16,null],[13,"KbdIllumToggle","","",16,null],[13,"KbdIllumDown","","",16,null],[13,"KbdIllumUp","","",16,null],[13,"Eject","","",16,null],[13,"Sleep","","",16,null],[13,"App1","","",16,null],[13,"App2","","",16,null],[13,"Num","","",16,null],[5,"get_focused_window_id","","",null,{"inputs":[],"output":{"name":"option"}}],[5,"mod_state","","",null,{"inputs":[],"output":{"name":"mod"}}],[5,"set_mod_state","","",null,{"inputs":[{"name":"mod"}],"output":null}],[5,"start_text_input","","",null,{"inputs":[],"output":null}],[5,"is_text_input_active","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"stop_text_input","","",null,{"inputs":[],"output":null}],[5,"set_text_input_rect","","",null,{"inputs":[{"name":"rect"}],"output":null}],[5,"has_screen_keyboard_support","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"is_screen_keyboard_shown","","",null,{"inputs":[{"name":"window"}],"output":{"name":"bool"}}],[11,"fmt","","",15,null],[11,"hash","","",15,null],[11,"eq","","",15,null],[11,"clone","","",15,null],[11,"to_i64","","",15,null],[11,"to_u64","","",15,null],[11,"to_isize","","",15,null],[11,"from_i64","","",15,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_u64","","",15,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[11,"fmt","","",15,null],[11,"from_scancode","","Gets the virtual key from a scancode. Returns None if there is no corresponding virtual key.",15,{"inputs":[{"name":"scancode"}],"output":{"name":"option"}}],[11,"from_name","","",15,{"inputs":[{"name":"str"}],"output":{"name":"option"}}],[11,"name","","",15,null],[11,"fmt","","",16,null],[11,"hash","","",16,null],[11,"eq","","",16,null],[11,"clone","","",16,null],[11,"to_i64","","",16,null],[11,"to_u64","","",16,null],[11,"to_isize","","",16,null],[11,"from_i64","","",16,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_u64","","",16,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[11,"fmt","","",16,null],[11,"from_keycode","","Gets the scancode from a virtual key. Returns None if there is no corresponding scancode.",16,{"inputs":[{"name":"keycode"}],"output":{"name":"option"}}],[11,"from_name","","",16,{"inputs":[{"name":"str"}],"output":{"name":"option"}}],[11,"name","","",16,null],[17,"NOMOD","","",null,null],[17,"LSHIFTMOD","","",null,null],[17,"RSHIFTMOD","","",null,null],[17,"LCTRLMOD","","",null,null],[17,"RCTRLMOD","","",null,null],[17,"LALTMOD","","",null,null],[17,"RALTMOD","","",null,null],[17,"LGUIMOD","","",null,null],[17,"RGUIMOD","","",null,null],[17,"NUMMOD","","",null,null],[17,"CAPSMOD","","",null,null],[17,"MODEMOD","","",null,null],[17,"RESERVEDMOD","","",null,null],[11,"hash","","",17,null],[11,"cmp","","",17,null],[11,"partial_cmp","","",17,null],[11,"lt","","",17,null],[11,"le","","",17,null],[11,"gt","","",17,null],[11,"ge","","",17,null],[11,"clone","","",17,null],[11,"eq","","",17,null],[11,"ne","","",17,null],[11,"fmt","","",17,null],[11,"empty","","Returns an empty set of flags.",17,{"inputs":[],"output":{"name":"mod"}}],[11,"all","","Returns the set containing all flags.",17,{"inputs":[],"output":{"name":"mod"}}],[11,"bits","","Returns the raw value of the flags currently stored.",17,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",17,{"inputs":[{"name":"u32"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",17,{"inputs":[{"name":"u32"}],"output":{"name":"mod"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",17,null],[11,"is_all","","Returns `true` if all flags are currently set.",17,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",17,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",17,null],[11,"insert","","Inserts the specified flags in-place.",17,null],[11,"remove","","Removes the specified flags in-place.",17,null],[11,"toggle","","Toggles the specified flags in-place.",17,null],[11,"bitor","","Returns the union of the two sets of flags.",17,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",17,null],[11,"bitand","","Returns the intersection between the two sets of flags.",17,null],[11,"sub","","Returns the set difference of the two sets of flags.",17,null],[11,"not","","Returns the complement of this set of flags.",17,null],[11,"new","","",18,{"inputs":[{"name":"sdl"}],"output":{"name":"keyboardstate"}}],[11,"is_scancode_pressed","","Returns true if the scancode is pressed.",18,null],[11,"scancodes","","Returns an iterator all scancodes with a boolean indicating if the scancode is pressed.",18,null],[11,"pressed_scancodes","","Returns an iterator of pressed scancodes.",18,null],[11,"next","","",19,null],[11,"next","","",20,null],[0,"mouse","sdl2","",null,null],[3,"Cursor","sdl2::mouse","",null,null],[3,"MouseState","","",null,null],[4,"SystemCursor","","",null,null],[13,"Arrow","","",21,null],[13,"IBeam","","",21,null],[13,"Wait","","",21,null],[13,"Crosshair","","",21,null],[13,"WaitArrow","","",21,null],[13,"SizeNWSE","","",21,null],[13,"SizeNESW","","",21,null],[13,"SizeWE","","",21,null],[13,"SizeNS","","",21,null],[13,"SizeAll","","",21,null],[13,"No","","",21,null],[13,"Hand","","",21,null],[4,"Mouse","","",null,null],[13,"Left","","",22,null],[13,"Middle","","",22,null],[13,"Right","","",22,null],[13,"X1","","",22,null],[13,"X2","","",22,null],[13,"Unknown","","",22,null],[5,"wrap_mouse","","",null,{"inputs":[{"name":"u8"}],"output":{"name":"mouse"}}],[5,"get_focused_window_id","","",null,{"inputs":[],"output":{"name":"option"}}],[5,"get_mouse_state","","",null,null],[5,"get_relative_mouse_state","","",null,null],[5,"warp_mouse_in_window","","",null,{"inputs":[{"name":"window"},{"name":"i32"},{"name":"i32"}],"output":null}],[5,"set_relative_mouse_mode","","",null,{"inputs":[{"name":"bool"}],"output":null}],[5,"get_relative_mouse_mode","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"is_cursor_showing","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"show_cursor","","",null,{"inputs":[{"name":"bool"}],"output":null}],[11,"fmt","","",21,null],[11,"hash","","",21,null],[11,"eq","","",21,null],[11,"clone","","",21,null],[11,"drop","","",23,null],[11,"new","","",23,null],[11,"from_surface","","",23,{"inputs":[{"name":"s"},{"name":"i32"},{"name":"i32"}],"output":{"name":"sdlresult"}}],[11,"from_system","","",23,{"inputs":[{"name":"systemcursor"}],"output":{"name":"sdlresult"}}],[11,"set","","",23,null],[11,"fmt","","",22,null],[11,"hash","","",22,null],[11,"eq","","",22,null],[11,"ne","","",22,null],[11,"clone","","",22,null],[11,"hash","","",24,null],[11,"eq","","",24,null],[11,"ne","","",24,null],[11,"clone","","",24,null],[11,"button","","Tests if a mouse button was pressed.",24,null],[11,"left","","Tests if the left mouse button was pressed.",24,null],[11,"middle","","Tests if the middle mouse button was pressed.",24,null],[11,"right","","Tests if the right mouse button was pressed.",24,null],[11,"x1","","Tests if the X1 mouse button was pressed.",24,null],[11,"x2","","Tests if the X2 mouse button was pressed.",24,null],[11,"from_flags","","",24,{"inputs":[{"name":"u32"}],"output":{"name":"mousestate"}}],[0,"rect","sdl2","",null,null],[3,"Point","sdl2::rect","Immutable point type, consisting of x and y.",null,null],[3,"Rect","","Immutable rectangle type, consisting of x, y, width and height.",null,null],[11,"hash","","",25,null],[11,"fmt","","",25,null],[11,"eq","","",25,null],[11,"ne","","",25,null],[11,"clone","","",25,null],[11,"from","","",25,null],[11,"into","","",25,null],[11,"raw","","",25,null],[11,"raw_slice","","",25,null],[11,"from_ll","","",25,{"inputs":[{"name":"sdl_point"}],"output":{"name":"point"}}],[11,"new","","",25,{"inputs":[{"name":"i32"},{"name":"i32"}],"output":{"name":"point"}}],[11,"offset","","",25,null],[11,"xy","","",25,null],[11,"x","","",25,null],[11,"y","","",25,null],[11,"hash","","",26,null],[11,"fmt","","",26,null],[11,"eq","","",26,null],[11,"ne","","",26,null],[11,"clone","","",26,null],[11,"into","","",26,null],[11,"raw","","",26,null],[11,"raw_from_option","","",26,null],[11,"raw_mut_from_option","","",26,null],[11,"raw_slice","","",26,null],[11,"from_ll","","",26,{"inputs":[{"name":"sdl_rect"}],"output":{"name":"sdlresult"}}],[11,"new","","Creates a new rectangle.",26,{"inputs":[{"name":"i32"},{"name":"i32"},{"name":"u32"},{"name":"u32"}],"output":{"name":"sdlresult"}}],[11,"new_unwrap","","Creates a new rectangle. Convenience function that unwraps the result of `Rect::new()` twice.",26,{"inputs":[{"name":"i32"},{"name":"i32"},{"name":"u32"},{"name":"u32"}],"output":{"name":"rect"}}],[11,"offset","","Offsets the rectangle's x and y coordinates.",26,null],[11,"xywh","","",26,null],[11,"x","","",26,null],[11,"y","","",26,null],[11,"width","","",26,null],[11,"height","","",26,null],[11,"from_enclose_points","","Calculate a minimal rectangle enclosing a set of points.",26,null],[11,"has_intersection","","Determine whether two rectangles intersect.",26,null],[11,"intersect","","Calculate the intersection of two rectangles. The bitwise AND operator `&` can also be used.",26,null],[11,"union","","Calculate the union of two rectangles. The bitwise OR operator `|` can also be used.",26,null],[11,"intersect_line","","Calculate the intersection of a rectangle and line segment. return points of intersection.",26,null],[11,"bitand","","",26,null],[11,"bitand","","",26,null],[11,"bitor","","",26,null],[11,"bitor","","",26,null],[0,"surface","sdl2","",null,null],[3,"Surface","sdl2::surface","",null,null],[3,"SurfaceRef","","An unsized Surface reference.",null,null],[11,"drop","","",27,null],[11,"deref","","",27,null],[11,"deref_mut","","",27,null],[11,"as_ref","","",27,null],[11,"as_mut","","",27,null],[11,"from_ll","","",27,null],[11,"new","","Creates a new surface using a pixel format.",27,{"inputs":[{"name":"u32"},{"name":"u32"},{"name":"pixelformatenum"}],"output":{"name":"sdlresult"}}],[11,"from_pixelmasks","","Creates a new surface using pixel masks.",27,{"inputs":[{"name":"u32"},{"name":"u32"},{"name":"pixelmasks"}],"output":{"name":"sdlresult"}}],[11,"from_data","","Creates a new surface from an existing buffer, using a pixel format.",27,null],[11,"from_data_pixelmasks","","Creates a new surface from an existing buffer, using pixel masks.",27,null],[11,"load_bmp_rw","","",27,{"inputs":[{"name":"rwops"}],"output":{"name":"sdlresult"}}],[11,"load_bmp","","",27,{"inputs":[{"name":"p"}],"output":{"name":"sdlresult"}}],[11,"from_ll","","",28,null],[11,"from_ll_mut","","",28,null],[11,"raw","","",28,null],[11,"get_width","","",28,null],[11,"get_height","","",28,null],[11,"get_pitch","","",28,null],[11,"get_size","","",28,null],[11,"get_rect","","",28,null],[11,"get_pixel_format","","",28,null],[11,"with_lock","","Locks a surface so that the pixels can be directly accessed safely.",28,null],[11,"with_lock_mut","","Locks a surface so that the pixels can be directly accessed safely.",28,null],[11,"without_lock","","Returns the Surface's pixel buffer if the Surface doesn't require locking\n(e.g. it's a software surface).",28,null],[11,"without_lock_mut","","Returns the Surface's pixel buffer if the Surface doesn't require locking\n(e.g. it's a software surface).",28,null],[11,"must_lock","","Returns true if the Surface needs to be locked before accessing the Surface pixels.",28,null],[11,"save_bmp_rw","","",28,null],[11,"save_bmp","","",28,null],[11,"set_palette","","",28,null],[11,"enable_RLE","","",28,null],[11,"disable_RLE","","",28,null],[11,"set_color_key","","",28,null],[11,"get_color_key","","The function will fail if the surface doesn't have color key enabled.",28,null],[11,"set_color_mod","","",28,null],[11,"get_color_mod","","",28,null],[11,"fill_rect","","",28,null],[11,"fill_rects","","",28,null],[11,"set_alpha_mod","","",28,null],[11,"get_alpha_mod","","",28,null],[11,"set_blend_mode","","The function will fail if the blend mode is not supported by SDL.",28,null],[11,"get_blend_mode","","",28,null],[11,"set_clip_rect","","Sets the clip rectangle for the surface.",28,null],[11,"get_clip_rect","","Gets the clip rectangle for the surface.",28,null],[11,"convert","","Copies the surface into a new one that is optimized for blitting to a surface of a specified pixel format.",28,null],[11,"blit","","Performs surface blitting (surface copying).",28,null],[11,"lower_blit","","Performs low-level surface blitting.",28,null],[11,"blit_scaled","","Performs scaled surface bliting (surface copying).",28,null],[11,"lower_blit_scaled","","Performs low-level scaled surface blitting.",28,null],[0,"pixels","sdl2","",null,null],[3,"Palette","sdl2::pixels","",null,null],[3,"PixelMasks","","",null,null],[12,"bpp","","Bits per pixel; usually 15, 16, or 32",29,null],[12,"rmask","","The red mask",29,null],[12,"gmask","","The green mask",29,null],[12,"bmask","","The blue mask",29,null],[12,"amask","","The alpha mask",29,null],[3,"PixelFormat","","",null,null],[4,"Color","","",null,null],[13,"RGB","","",30,null],[13,"RGBA","","",30,null],[4,"PixelFormatEnum","","",null,null],[13,"Unknown","","",31,null],[13,"Index1LSB","","",31,null],[13,"Index1MSB","","",31,null],[13,"Index4LSB","","",31,null],[13,"Index4MSB","","",31,null],[13,"Index8","","",31,null],[13,"RGB332","","",31,null],[13,"RGB444","","",31,null],[13,"RGB555","","",31,null],[13,"BGR555","","",31,null],[13,"ARGB4444","","",31,null],[13,"RGBA4444","","",31,null],[13,"ABGR4444","","",31,null],[13,"BGRA4444","","",31,null],[13,"ARGB1555","","",31,null],[13,"RGBA5551","","",31,null],[13,"ABGR1555","","",31,null],[13,"BGRA5551","","",31,null],[13,"RGB565","","",31,null],[13,"BGR565","","",31,null],[13,"RGB24","","",31,null],[13,"BGR24","","",31,null],[13,"RGB888","","",31,null],[13,"RGBX8888","","",31,null],[13,"BGR888","","",31,null],[13,"BGRX8888","","",31,null],[13,"ARGB8888","","",31,null],[13,"RGBA8888","","",31,null],[13,"ABGR8888","","",31,null],[13,"BGRA8888","","",31,null],[13,"ARGB2101010","","",31,null],[13,"YV12","","",31,null],[13,"IYUV","","",31,null],[13,"YUY2","","",31,null],[13,"UYVY","","",31,null],[13,"YVYU","","",31,null],[11,"raw","","",32,null],[11,"fmt","","",30,null],[11,"hash","","",30,null],[11,"eq","","",30,null],[11,"ne","","",30,null],[11,"clone","","",30,null],[11,"to_u32","","",30,null],[11,"from_u32","","",30,{"inputs":[{"name":"pixelformat"},{"name":"u32"}],"output":{"name":"color"}}],[11,"get_rgb","","",30,null],[11,"rand","","",30,{"inputs":[{"name":"r"}],"output":{"name":"color"}}],[11,"raw","","",33,null],[11,"from_ll","","",33,null],[11,"fmt","","",31,null],[11,"hash","","",31,null],[11,"eq","","",31,null],[11,"clone","","",31,null],[11,"from_masks","","",31,{"inputs":[{"name":"pixelmasks"}],"output":{"name":"pixelformatenum"}}],[11,"into_masks","","",31,null],[11,"byte_size_from_pitch_and_height","","Calculates the total byte size of an image buffer, given its pitch\nand height.",31,null],[11,"byte_size_of_pixels","","",31,null],[11,"byte_size_per_pixel","","",31,null],[11,"from_i64","","",31,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_u64","","",31,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[0,"video","sdl2","",null,null],[3,"DisplayMode","sdl2::video","",null,null],[12,"format","","",34,null],[12,"w","","",34,null],[12,"h","","",34,null],[12,"refresh_rate","","",34,null],[3,"GLContext","","",null,null],[3,"Window","","",null,null],[3,"WindowBuilder","","The type that allows you to build windows.",null,null],[3,"WindowProperties","","Contains accessors to a `Window`'s properties.",null,null],[3,"WindowPropertiesGetters","","Contains getters to a `Window`'s properties.",null,null],[4,"GLProfile","","",null,null],[13,"Core","","OpenGL core profile - deprecated functions are disabled",35,null],[13,"Compatibility","","OpenGL compatibility profile - deprecated functions are allowed",35,null],[13,"GLES","","OpenGL ES profile - only a subset of the base OpenGL functionality is available",35,null],[4,"FullscreenType","","",null,null],[13,"FTOff","","",36,null],[13,"FTTrue","","",36,null],[13,"FTDesktop","","",36,null],[4,"WindowPos","","",null,null],[13,"PosUndefined","","",37,null],[13,"PosCentered","","",37,null],[13,"Positioned","","",37,null],[5,"get_num_video_drivers","","",null,{"inputs":[],"output":{"name":"sdlresult"}}],[5,"get_video_driver","","",null,{"inputs":[{"name":"i32"}],"output":{"name":"string"}}],[5,"video_init","","",null,{"inputs":[{"name":"str"}],"output":{"name":"sdlresult"}}],[5,"video_quit","","",null,{"inputs":[],"output":null}],[5,"get_current_video_driver","","",null,{"inputs":[],"output":{"name":"string"}}],[5,"get_num_video_displays","","",null,{"inputs":[],"output":{"name":"sdlresult"}}],[5,"get_display_name","","",null,{"inputs":[{"name":"i32"}],"output":{"name":"string"}}],[5,"get_display_bounds","","",null,{"inputs":[{"name":"i32"}],"output":{"name":"sdlresult"}}],[5,"get_num_display_modes","","",null,{"inputs":[{"name":"i32"}],"output":{"name":"sdlresult"}}],[5,"get_display_mode","","",null,{"inputs":[{"name":"i32"},{"name":"i32"}],"output":{"name":"sdlresult"}}],[5,"get_desktop_display_mode","","",null,{"inputs":[{"name":"i32"}],"output":{"name":"sdlresult"}}],[5,"get_current_display_mode","","",null,{"inputs":[{"name":"i32"}],"output":{"name":"sdlresult"}}],[5,"get_closest_display_mode","","",null,{"inputs":[{"name":"i32"},{"name":"displaymode"}],"output":{"name":"sdlresult"}}],[5,"is_screen_saver_enabled","","",null,{"inputs":[],"output":{"name":"bool"}}],[5,"enable_screen_saver","","",null,{"inputs":[],"output":null}],[5,"disable_screen_saver","","",null,{"inputs":[],"output":null}],[5,"gl_load_library","","",null,{"inputs":[{"name":"p"}],"output":{"name":"sdlresult"}}],[5,"gl_unload_library","","",null,{"inputs":[],"output":null}],[5,"gl_get_proc_address","","",null,null],[5,"gl_extension_supported","","",null,{"inputs":[{"name":"str"}],"output":{"name":"bool"}}],[5,"gl_get_current_window_id","","",null,{"inputs":[],"output":{"name":"sdlresult"}}],[5,"gl_release_current_context","","Releases the thread's current OpenGL context, i.e. sets the current OpenGL context to nothing.",null,{"inputs":[],"output":{"name":"sdlresult"}}],[5,"gl_set_swap_interval","","",null,{"inputs":[{"name":"i32"}],"output":{"name":"bool"}}],[5,"gl_get_swap_interval","","",null,{"inputs":[],"output":{"name":"i32"}}],[0,"gl_attr","","OpenGL context getters and setters",null,null],[3,"ContextFlagsBuilder","sdl2::video::gl_attr","The type that allows you to build a OpenGL context configuration.",null,null],[3,"ContextFlags","","",null,null],[5,"set_red_size","","**Sets** the attribute:\nthe minimum number of bits for the red channel of the color buffer; defaults to 3",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"red_size","","**Gets** the attribute:\nthe minimum number of bits for the red channel of the color buffer; defaults to 3",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_green_size","","**Sets** the attribute:\nthe minimum number of bits for the green channel of the color buffer; defaults to 3",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"green_size","","**Gets** the attribute:\nthe minimum number of bits for the green channel of the color buffer; defaults to 3",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_blue_size","","**Sets** the attribute:\nthe minimum number of bits for the blue channel of the color buffer; defaults to 2",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"blue_size","","**Gets** the attribute:\nthe minimum number of bits for the blue channel of the color buffer; defaults to 2",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_alpha_size","","**Sets** the attribute:\nthe minimum number of bits for the alpha channel of the color buffer; defaults to 0",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"alpha_size","","**Gets** the attribute:\nthe minimum number of bits for the alpha channel of the color buffer; defaults to 0",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_buffer_size","","**Sets** the attribute:\nthe minimum number of bits for frame buffer size; defaults to 0",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"buffer_size","","**Gets** the attribute:\nthe minimum number of bits for frame buffer size; defaults to 0",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_double_buffer","","**Sets** the attribute:\nwhether the output is single or double buffered; defaults to double buffering on",null,{"inputs":[{"name":"bool"}],"output":null}],[5,"double_buffer","","**Gets** the attribute:\nwhether the output is single or double buffered; defaults to double buffering on",null,{"inputs":[],"output":{"name":"bool"}}],[5,"set_depth_size","","**Sets** the attribute:\nthe minimum number of bits in the depth buffer; defaults to 16",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"depth_size","","**Gets** the attribute:\nthe minimum number of bits in the depth buffer; defaults to 16",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_stencil_size","","**Sets** the attribute:\nthe minimum number of bits in the stencil buffer; defaults to 0",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"stencil_size","","**Gets** the attribute:\nthe minimum number of bits in the stencil buffer; defaults to 0",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_accum_red_size","","**Sets** the attribute:\nthe minimum number of bits for the red channel of the accumulation buffer; defaults to 0",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"accum_red_size","","**Gets** the attribute:\nthe minimum number of bits for the red channel of the accumulation buffer; defaults to 0",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_accum_green_size","","**Sets** the attribute:\nthe minimum number of bits for the green channel of the accumulation buffer; defaults to 0",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"accum_green_size","","**Gets** the attribute:\nthe minimum number of bits for the green channel of the accumulation buffer; defaults to 0",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_accum_blue_size","","**Sets** the attribute:\nthe minimum number of bits for the blue channel of the accumulation buffer; defaults to 0",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"accum_blue_size","","**Gets** the attribute:\nthe minimum number of bits for the blue channel of the accumulation buffer; defaults to 0",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_accum_alpha_size","","**Sets** the attribute:\nthe minimum number of bits for the alpha channel of the accumulation buffer; defaults to 0",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"accum_alpha_size","","**Gets** the attribute:\nthe minimum number of bits for the alpha channel of the accumulation buffer; defaults to 0",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_stereo","","**Sets** the attribute:\nwhether the output is stereo 3D; defaults to off",null,{"inputs":[{"name":"bool"}],"output":null}],[5,"stereo","","**Gets** the attribute:\nwhether the output is stereo 3D; defaults to off",null,{"inputs":[],"output":{"name":"bool"}}],[5,"set_multisample_buffers","","**Sets** the attribute:\nthe number of buffers used for multisample anti-aliasing; defaults to 0",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"multisample_buffers","","**Gets** the attribute:\nthe number of buffers used for multisample anti-aliasing; defaults to 0",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_multisample_samples","","**Sets** the attribute:\nthe number of samples used around the current pixel used for multisample anti-aliasing; defaults to 0",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"multisample_samples","","**Gets** the attribute:\nthe number of samples used around the current pixel used for multisample anti-aliasing; defaults to 0",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_accelerated_visual","","**Sets** the attribute:\nwhether to require hardware acceleration; false to force software rendering; defaults to allow either",null,{"inputs":[{"name":"bool"}],"output":null}],[5,"accelerated_visual","","**Gets** the attribute:\nwhether to require hardware acceleration; false to force software rendering; defaults to allow either",null,{"inputs":[],"output":{"name":"bool"}}],[5,"set_context_major_version","","**Sets** the attribute:\nOpenGL context major version",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"context_major_version","","**Gets** the attribute:\nOpenGL context major version",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_context_minor_version","","**Sets** the attribute:\nOpenGL context minor version",null,{"inputs":[{"name":"u8"}],"output":null}],[5,"context_minor_version","","**Gets** the attribute:\nOpenGL context minor version",null,{"inputs":[],"output":{"name":"u8"}}],[5,"set_context_profile","","**Sets** the attribute:\ntype of GL context (Core, Compatibility, ES)",null,{"inputs":[{"name":"glprofile"}],"output":null}],[5,"context_profile","","**Gets** the attribute:\ntype of GL context (Core, Compatibility, ES)",null,{"inputs":[],"output":{"name":"glprofile"}}],[5,"set_share_with_current_context","","**Sets** the attribute:\nOpenGL context sharing; defaults to false",null,{"inputs":[{"name":"bool"}],"output":null}],[5,"share_with_current_context","","**Gets** the attribute:\nOpenGL context sharing; defaults to false",null,{"inputs":[],"output":{"name":"bool"}}],[5,"set_framebuffer_srgb_compatible","","**Sets** the attribute:\nrequests sRGB capable visual; defaults to false (>= SDL 2.0.1)",null,{"inputs":[{"name":"bool"}],"output":null}],[5,"framebuffer_srgb_compatible","","**Gets** the attribute:\nrequests sRGB capable visual; defaults to false (>= SDL 2.0.1)",null,{"inputs":[],"output":{"name":"bool"}}],[5,"set_context_version","","**Sets** the OpenGL context major and minor versions.",null,{"inputs":[{"name":"u8"},{"name":"u8"}],"output":null}],[5,"context_version","","**Gets** the OpenGL context major and minor versions as a tuple.",null,null],[5,"set_context_flags","","**Sets** any combination of OpenGL context configuration flags.",null,{"inputs":[],"output":{"name":"contextflagsbuilder"}}],[5,"context_flags","","**Gets** the applied OpenGL context configuration flags.",null,{"inputs":[],"output":{"name":"contextflags"}}],[11,"set","","Finishes the builder and applies the GL context flags to the GL context.",38,null],[11,"debug","","Sets the context into "debug" mode.",38,null],[11,"forward_compatible","","Sets the context into "forward compatible" mode.",38,null],[11,"robust_access","","",38,null],[11,"reset_isolation","","",38,null],[11,"has_debug","","",39,null],[11,"has_forward_compatible","","",39,null],[11,"has_robust_access","","",39,null],[11,"has_reset_isolation","","",39,null],[11,"fmt","sdl2::video","",35,null],[11,"hash","","",35,null],[11,"eq","","",35,null],[11,"clone","","",35,null],[11,"fmt","","",34,null],[11,"hash","","",34,null],[11,"eq","","",34,null],[11,"ne","","",34,null],[11,"clone","","",34,null],[11,"new","","",34,{"inputs":[{"name":"u32"},{"name":"i32"},{"name":"i32"},{"name":"i32"}],"output":{"name":"displaymode"}}],[11,"from_ll","","",34,{"inputs":[{"name":"sdl_displaymode"}],"output":{"name":"displaymode"}}],[11,"to_ll","","",34,null],[11,"fmt","","",36,null],[11,"hash","","",36,null],[11,"eq","","",36,null],[11,"clone","","",36,null],[11,"fmt","","",37,null],[11,"hash","","",37,null],[11,"eq","","",37,null],[11,"ne","","",37,null],[11,"clone","","",37,null],[11,"drop","","",40,null],[11,"is_current","","Returns true if the OpenGL context is the current one in the thread.",40,null],[11,"raw","","",40,null],[11,"raw","","",41,null],[11,"from_ll","","",41,null],[11,"drop","","",41,null],[11,"new","","Initializes a new `WindowBuilder`.",42,{"inputs":[{"name":"sdl"},{"name":"str"},{"name":"u32"},{"name":"u32"}],"output":{"name":"windowbuilder"}}],[11,"build","","Builds the window.",42,null],[11,"get_window_flags","","Gets the underlying window flags.",42,null],[11,"set_window_flags","","Sets the underlying window flags.\nThis will effectively undo any previous build operations, excluding window size and position.",42,null],[11,"position","","Sets the window position.",42,null],[11,"position_centered","","Centers the window.",42,null],[11,"fullscreen","","Sets the window to fullscreen.",42,null],[11,"fullscreen_desktop","","Sets the window to fullscreen at the current desktop resolution.",42,null],[11,"opengl","","Sets the window to be usable with an OpenGL context",42,null],[11,"hidden","","Hides the window.",42,null],[11,"borderless","","Removes the window decoration.",42,null],[11,"resizable","","Sets the window to be resizable.",42,null],[11,"minimized","","Minimizes the window.",42,null],[11,"maximized","","Maximizes the window.",42,null],[11,"input_grabbed","","Sets the window to have grabbed input focus.",42,null],[11,"allow_highdpi","","Creates the window in high-DPI mode if supported (>= SDL 2.0.1)",42,null],[11,"deref","","",43,null],[11,"renderer","","Initializes a new `RendererBuilder`; a convenience method that calls `RendererBuilder::new()`.",41,null],[11,"properties","","Accesses the Window properties, such as the position, size and title of a Window.",41,null],[11,"properties_getters","","Accesses the read-only Window properties.",41,null],[11,"get_id","","",41,null],[11,"gl_create_context","","",41,null],[11,"gl_set_context_to_current","","Set the window's OpenGL context to the current context on the thread.",41,null],[11,"gl_make_current","","",41,null],[11,"gl_swap_window","","",41,null],[11,"get_display_index","","",44,null],[11,"set_display_mode","","",44,null],[11,"get_display_mode","","",44,null],[11,"get_window_pixel_format","","",44,null],[11,"get_window_flags","","",44,null],[11,"set_title","","",44,null],[11,"get_title","","",44,null],[11,"set_icon","","",44,null],[11,"set_position","","",44,null],[11,"get_position","","",44,null],[11,"set_size","","",44,null],[11,"get_size","","",44,null],[11,"get_drawable_size","","",44,null],[11,"set_minimum_size","","",44,null],[11,"get_minimum_size","","",44,null],[11,"set_maximum_size","","",44,null],[11,"get_maximum_size","","",44,null],[11,"set_bordered","","",44,null],[11,"show","","",44,null],[11,"hide","","",44,null],[11,"raise","","",44,null],[11,"maximize","","",44,null],[11,"minimize","","",44,null],[11,"restore","","",44,null],[11,"set_fullscreen","","",44,null],[11,"get_surface","","",44,null],[11,"get_surface_mut","","",44,null],[11,"update_surface","","",44,null],[11,"update_surface_rects","","",44,null],[11,"set_grab","","",44,null],[11,"get_grab","","",44,null],[11,"set_brightness","","",44,null],[11,"get_brightness","","",44,null],[11,"set_gamma_ramp","","",44,null],[11,"get_gamma_ramp","","",44,null],[0,"timer","sdl2","",null,null],[3,"Timer","sdl2::timer","Unstable because of move to unboxed closures and `box` syntax",null,null],[5,"get_ticks","","",null,{"inputs":[],"output":{"name":"u32"}}],[5,"get_performance_counter","","",null,{"inputs":[],"output":{"name":"u64"}}],[5,"get_performance_frequency","","",null,{"inputs":[],"output":{"name":"u64"}}],[5,"delay","","",null,{"inputs":[{"name":"u32"}],"output":null}],[6,"TimerCallback","","",null,null],[11,"new","","Constructs a new timer using the boxed closure `callback`.\nThe timer is started immediately, it will be cancelled either:\n * when the timer is dropped\n * or when the callback returns a non-positive continuation interval",45,{"inputs":[{"name":"u32"},{"name":"timercallback"}],"output":{"name":"timer"}}],[11,"into_inner","","Returns the closure as a trait-object and cancels the timer\nby consuming it...",45,null],[11,"drop","","",45,null],[0,"render","sdl2","2D accelerated rendering",null,null],[3,"RendererInfo","sdl2::render","A structure that contains information on the capabilities of a render driver\nor the current render context.",null,null],[12,"name","","",46,null],[12,"flags","","",46,null],[12,"texture_formats","","",46,null],[12,"max_texture_width","","",46,null],[12,"max_texture_height","","",46,null],[3,"Renderer","","2D rendering context",null,null],[3,"RendererBuilder","","The type that allows you to build Window-based renderers.",null,null],[3,"RenderTarget","","A handle for getting/setting the render target of the render context.",null,null],[3,"TextureQuery","","",null,null],[12,"format","","",47,null],[12,"access","","",47,null],[12,"width","","",47,null],[12,"height","","",47,null],[3,"Texture","","A texture for a rendering context.",null,null],[4,"TextureAccess","","",null,null],[13,"Static","","",48,null],[13,"Streaming","","",48,null],[13,"Target","","",48,null],[4,"BlendMode","","",null,null],[13,"None","","",49,null],[13,"Blend","","",49,null],[13,"Add","","",49,null],[13,"Mod","","",49,null],[4,"RendererParent","","",null,null],[13,"Surface","","",50,null],[13,"Window","","",50,null],[5,"get_num_render_drivers","","",null,{"inputs":[],"output":{"name":"sdlresult"}}],[5,"get_render_driver_info","","",null,{"inputs":[{"name":"u32"}],"output":{"name":"sdlresult"}}],[11,"fmt","","",48,null],[11,"hash","","",48,null],[11,"eq","","",48,null],[11,"clone","","",48,null],[11,"from_i64","","",48,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_u64","","",48,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[11,"fmt","","",46,null],[11,"hash","","",46,null],[11,"eq","","",46,null],[11,"ne","","",46,null],[11,"clone","","",46,null],[11,"fmt","","",49,null],[11,"hash","","",49,null],[11,"eq","","",49,null],[11,"clone","","",49,null],[11,"from_i64","","",49,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_u64","","",49,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[11,"from_ll","","",46,{"inputs":[{"name":"sdl_rendererinfo"}],"output":{"name":"rendererinfo"}}],[11,"drop","","",51,null],[11,"new","","Initializes a new `RendererBuilder`.",52,{"inputs":[{"name":"window"}],"output":{"name":"rendererbuilder"}}],[11,"build","","Builds the renderer.",52,null],[11,"index","","Sets the index of the rendering driver to initialize.",52,null],[11,"software","","Set the renderer to a software fallback.",52,null],[11,"accelerated","","Set the renderer to use hardware acceleration.",52,null],[11,"present_vsync","","Synchronize renderer present with the refresh rate.",52,null],[11,"target_texture","","Set the renderer to support rendering to a texture.",52,null],[11,"from_surface","","Creates a 2D software rendering context for a surface.",51,{"inputs":[{"name":"surface"}],"output":{"name":"sdlresult"}}],[11,"get_info","","Gets information about the rendering context.",51,null],[11,"get_parent","","Gets the window or surface the rendering context was created from.",51,null],[11,"get_parent_as_window","","",51,null],[11,"get_parent_as_surface","","",51,null],[11,"window_properties","","Accesses the Window properties, such as the position, size and title of a Window.\nReturns None if the renderer is not associated with a Window.",51,null],[11,"window_properties_getters","","Accesses the Window getters, such as the position, size and title of a Window.\nReturns None if the renderer is not associated with a Window.",51,null],[11,"unwrap_parent","","",51,null],[11,"unwrap_parent_as_window","","",51,null],[11,"unwrap_parent_as_surface","","",51,null],[11,"raw","","Unwraps the window or surface the rendering context was created from.",51,null],[11,"from_ll","","",51,null],[11,"create_texture","","Creates a texture for a rendering context.",51,null],[11,"create_texture_static","","Shorthand for `create_texture(format, TextureAccess::Static, size)`",51,null],[11,"create_texture_streaming","","Shorthand for `create_texture(format, TextureAccess::Streaming, size)`",51,null],[11,"create_texture_target","","Shorthand for `create_texture(format, TextureAccess::Target, size)`",51,null],[11,"create_texture_from_surface","","Creates a texture from an existing surface.\n# Remarks\nThe access hint for the created texture is `TextureAccess::Static`.",51,null],[11,"render_target_supported","","Determine whether a window supports the use of render targets.",51,null],[11,"render_target","","Gets the render target handle.",51,null],[11,"set_draw_color","","Sets the color used for drawing operations (Rect, Line and Clear).",51,null],[11,"get_draw_color","","Gets the color used for drawing operations (Rect, Line and Clear).",51,null],[11,"set_blend_mode","","Sets the blend mode used for drawing operations (Fill and Line).",51,null],[11,"get_blend_mode","","Gets the blend mode used for drawing operations.",51,null],[11,"clear","","Clears the current rendering target with the drawing color.",51,null],[11,"present","","Updates the screen with any rendering performed since the previous call.",51,null],[11,"get_output_size","","Gets the output size of a rendering context.",51,null],[11,"set_logical_size","","Sets a device independent resolution for rendering.",51,null],[11,"get_logical_size","","Gets device independent resolution for rendering.",51,null],[11,"set_viewport","","Sets the drawing area for rendering on the current target.",51,null],[11,"get_viewport","","Gets the drawing area for the current target.",51,null],[11,"set_clip_rect","","Sets the clip rectangle for rendering on the specified target.",51,null],[11,"get_clip_rect","","Gets the clip rectangle for the current target.",51,null],[11,"set_scale","","Sets the drawing scale for rendering on the current target.",51,null],[11,"get_scale","","Gets the drawing scale for the current target.",51,null],[11,"draw_point","","Draws a point on the current rendering target.\n# Panics\nPanics if drawing fails for any reason (e.g. driver failure)",51,null],[11,"draw_points","","Draws multiple points on the current rendering target.\n# Panics\nPanics if drawing fails for any reason (e.g. driver failure)",51,null],[11,"draw_line","","# Panics\nPanics if drawing fails for any reason (e.g. driver failure)",51,null],[11,"draw_lines","","Draws a series of connected lines on the current rendering target.\n# Panics\nPanics if drawing fails for any reason (e.g. driver failure)",51,null],[11,"draw_rect","","Draws a rectangle on the current rendering target.\n# Panics\nPanics if drawing fails for any reason (e.g. driver failure)",51,null],[11,"draw_rects","","Draws some number of rectangles on the current rendering target.\n# Panics\nPanics if drawing fails for any reason (e.g. driver failure)",51,null],[11,"fill_rect","","Fills a rectangle on the current rendering target with the drawing\ncolor.\n# Panics\nPanics if drawing fails for any reason (e.g. driver failure)",51,null],[11,"fill_rects","","Fills some number of rectangles on the current rendering target with\nthe drawing color.\n# Panics\nPanics if drawing fails for any reason (e.g. driver failure)",51,null],[11,"copy","","Copies a portion of the texture to the current rendering target.",51,null],[11,"copy_ex","","Copies a portion of the texture to the current rendering target,\noptionally rotating it by angle around the given center and also\nflipping it top-bottom and/or left-right.",51,null],[11,"read_pixels","","Reads pixels from the current rendering target.\n# Remarks\nWARNING: This is a very slow operation, and should not be used frequently.",51,null],[11,"reset","","Resets the render target to the default render target.",53,null],[11,"set","","Sets the render target to the provided texture.\nThe texture must be created with the texture access: `sdl2::render::TextureAccess::Target`.",53,null],[11,"create_and_set","","Creates a new texture and sets it as the render target.",53,null],[11,"fmt","","",47,null],[11,"hash","","",47,null],[11,"eq","","",47,null],[11,"ne","","",47,null],[11,"clone","","",47,null],[11,"drop","","",54,null],[11,"query","","Queries the attributes of the texture.",54,null],[11,"set_color_mod","","Sets an additional color value multiplied into render copy operations.",54,null],[11,"get_color_mod","","Gets the additional color value multiplied into render copy operations.",54,null],[11,"set_alpha_mod","","Sets an additional alpha value multiplied into render copy operations.",54,null],[11,"get_alpha_mod","","Gets the additional alpha value multiplied into render copy operations.",54,null],[11,"set_blend_mode","","Sets the blend mode for a texture, used by `Renderer::copy()`.",54,null],[11,"get_blend_mode","","Gets the blend mode used for texture copy operations.",54,null],[11,"update","","Updates the given texture rectangle with new pixel data.",54,null],[11,"update_yuv","","Updates a rectangle within a planar YV12 or IYUV texture with new pixel data.",54,null],[11,"with_lock","","Locks the texture for **write-only** pixel access.\nThe texture must have been created with streaming access.",54,null],[11,"gl_bind_texture","","Binds an OpenGL/ES/ES2 texture to the current\ncontext for use with when rendering OpenGL primitives directly.",54,null],[11,"gl_unbind_texture","","Unbinds an OpenGL/ES/ES2 texture from the current context.",54,null],[11,"gl_with_bind","","Binds and unbinds an OpenGL/ES/ES2 texture from the current context.",54,null],[11,"from_ll","","",54,null],[11,"raw","","",54,null],[0,"rwops","sdl2","",null,null],[3,"RWops","sdl2::rwops","A structure that provides an abstract interface to stream I/O.",null,null],[11,"raw","","",55,null],[11,"from_ll","","",55,null],[11,"from_file","","Creates an SDL file stream.",55,{"inputs":[{"name":"p"},{"name":"str"}],"output":{"name":"sdlresult"}}],[11,"from_bytes","","Prepares a read-only memory buffer for use with `RWops`.",55,null],[11,"from_bytes_mut","","Prepares a read-write memory buffer for use with `RWops`.",55,null],[11,"len","","Gets the stream's total size in bytes.",55,null],[11,"drop","","",55,null],[11,"read","","",55,null],[11,"write","","",55,null],[11,"flush","","",55,null],[11,"seek","","",55,null],[11,"fmt","sdl2","",0,null],[11,"hash","","",0,null],[11,"eq","","",0,null],[11,"clone","","",0,null],[11,"was_init","","Returns the mask of the specified subsystems which have previously been initialized.",56,null],[11,"event_pump","","Obtains the SDL event pump.",56,null],[11,"keyboard_state","","",56,null],[11,"window","","Initializes a new `WindowBuilder`; a convenience method that calls `WindowBuilder::new()`.",56,null],[11,"drop","","",56,null],[11,"drop","","",57,null],[11,"new","","Initializes a new `InitBuilder`.",58,{"inputs":[],"output":{"name":"initbuilder"}}],[11,"build","","Builds the SDL2 context.",58,null],[11,"unwrap","","Builds the SDL2 context. Convenience method for `.build().unwrap()`.",58,null],[11,"build_subsystem","","Builds an SDL2 subsystem. Requires SDL2 to have already been initialized.",58,null],[11,"everything","","Initializes every subsystem.",58,null],[11,"timer","","Initializes the timer subsystem.",58,null],[11,"audio","","Initializes the audio subsystem.",58,null],[11,"video","","Initializes the video subsystem.",58,null],[11,"joystick","","Initializes the joystick subsystem.",58,null],[11,"haptic","","Initializes the haptic (force feedback) subsystem.",58,null],[11,"game_controller","","Initializes the controller subsystem.",58,null],[11,"events","","Initializes the events subsystem.",58,null],[0,"audio","","Audio Functions",null,null],[3,"AudioSpecWAV","sdl2::audio","",null,null],[12,"freq","","",59,null],[12,"format","","",59,null],[12,"channels","","",59,null],[3,"AudioSpecDesired","","",null,null],[12,"freq","","DSP frequency (samples per second). Set to None for the device's fallback frequency.",60,null],[12,"channels","","Number of separate audio channels. Set to None for the device's fallback number of channels.",60,null],[12,"samples","","Audio buffer size in samples (power of 2). Set to None for the device's fallback sample size.",60,null],[3,"AudioSpec","","",null,null],[12,"freq","","",61,null],[12,"format","","",61,null],[12,"channels","","",61,null],[12,"silence","","",61,null],[12,"samples","","",61,null],[12,"size","","",61,null],[3,"AudioDevice","","Wraps SDL_AudioDeviceID and owns the callback data used by the audio device.",null,null],[3,"AudioDeviceLockGuard","","Similar to `std::sync::MutexGuard`, but for use with `AudioDevice::lock()`.",null,null],[3,"AudioCVT","","",null,null],[4,"AudioFormat","","",null,null],[13,"U8","","Unsigned 8-bit samples",62,null],[13,"S8","","Signed 8-bit samples",62,null],[13,"U16LSB","","Unsigned 16-bit samples, little-endian",62,null],[13,"U16MSB","","Unsigned 16-bit samples, big-endian",62,null],[13,"S16LSB","","Signed 16-bit samples, little-endian",62,null],[13,"S16MSB","","Signed 16-bit samples, big-endian",62,null],[13,"S32LSB","","Signed 32-bit samples, little-endian",62,null],[13,"S32MSB","","Signed 32-bit samples, big-endian",62,null],[13,"F32LSB","","32-bit floating point samples, little-endian",62,null],[13,"F32MSB","","32-bit floating point samples, big-endian",62,null],[4,"AudioStatus","","",null,null],[13,"Stopped","","",63,null],[13,"Playing","","",63,null],[13,"Paused","","",63,null],[5,"get_num_audio_drivers","","",null,{"inputs":[],"output":{"name":"i32"}}],[5,"get_audio_driver","","",null,{"inputs":[{"name":"i32"}],"output":{"name":"string"}}],[5,"get_num_audio_devices","","",null,{"inputs":[{"name":"i32"}],"output":{"name":"i32"}}],[5,"get_audio_device_name","","",null,{"inputs":[{"name":"i32"},{"name":"i32"}],"output":{"name":"string"}}],[5,"audio_init","","",null,{"inputs":[{"name":"str"}],"output":{"name":"sdlresult"}}],[5,"audio_quit","","",null,{"inputs":[],"output":null}],[5,"get_current_audio_driver","","",null,{"inputs":[],"output":{"name":"string"}}],[8,"AudioCallback","","",null,null],[16,"Channel","","",64,null],[10,"callback","","",64,null],[8,"AudioFormatNum","","A phantom type for retreiving the SDL_AudioFormat of a given generic type.\nAll format types are returned as native-endian.",null,null],[10,"get_audio_format","","",65,{"inputs":[],"output":{"name":"audioformat"}}],[10,"zero","","",65,{"inputs":[],"output":{"name":"self"}}],[11,"hash","","",62,null],[11,"fmt","","",62,null],[11,"eq","","",62,null],[11,"clone","","",62,null],[11,"u16_sys","","Unsigned 16-bit samples, native endian",62,{"inputs":[],"output":{"name":"audioformat"}}],[11,"s16_sys","","Signed 16-bit samples, native endian",62,{"inputs":[],"output":{"name":"audioformat"}}],[11,"s32_sys","","Signed 32-bit samples, native endian",62,{"inputs":[],"output":{"name":"audioformat"}}],[11,"f32_sys","","32-bit floating point samples, native endian",62,{"inputs":[],"output":{"name":"audioformat"}}],[11,"fmt","","",63,null],[11,"hash","","",63,null],[11,"eq","","",63,null],[11,"clone","","",63,null],[11,"from_i64","","",63,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_u64","","",63,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[11,"load_wav","","Loads a WAVE from the file path.",59,{"inputs":[{"name":"p"}],"output":{"name":"sdlresult"}}],[11,"load_wav_rw","","Loads a WAVE from the data source.",59,{"inputs":[{"name":"rwops"}],"output":{"name":"sdlresult"}}],[11,"get_buffer","","",59,null],[11,"drop","","",59,null],[11,"fmt","","",61,null],[11,"hash","","",61,null],[11,"eq","","",61,null],[11,"ne","","",61,null],[11,"clone","","",61,null],[11,"open_playback","","Opens a new audio device given the desired parameters and callback.\nUses `SDL_OpenAudioDevice`.",66,{"inputs":[{"name":"option"},{"name":"audiospecdesired"},{"name":"f"}],"output":{"name":"sdlresult"}}],[11,"get_status","","",66,null],[11,"pause","","Pauses playback of the audio device.",66,null],[11,"resume","","Starts playback of the audio device.",66,null],[11,"lock","","Locks the audio device using `SDL_LockAudioDevice`.",66,null],[11,"close_and_get_callback","","Closes the audio device and saves the callback data from being dropped.",66,null],[11,"deref","","",67,null],[11,"deref_mut","","",67,null],[11,"drop","","",67,null],[11,"clone","","",68,null],[11,"new","","",68,{"inputs":[{"name":"audioformat"},{"name":"u8"},{"name":"i32"},{"name":"audioformat"},{"name":"u8"},{"name":"i32"}],"output":{"name":"sdlresult"}}],[11,"convert","","Convert audio data to a desired audio format.",68,null],[11,"is_conversion_needed","","Checks if any conversion is needed. i.e. if the buffer that goes\ninto `convert()` is unchanged from the result.",68,null],[11,"get_capacity","","Gets the buffer capacity that can contain both the original and\nconverted data.",68,null],[0,"version","sdl2","Querying SDL Version",null,null],[3,"Version","sdl2::version","A structure that contains information about the version of SDL in use.",null,null],[12,"major","","major version",69,null],[12,"minor","","minor version",69,null],[12,"patch","","update version (patchlevel)",69,null],[5,"get_version","","Get the version of SDL that is linked against your program.",null,{"inputs":[],"output":{"name":"version"}}],[5,"get_revision","","Get the code revision of SDL that is linked against your program.",null,{"inputs":[],"output":{"name":"string"}}],[5,"get_revision_number","","Get the revision number of SDL that is linked against your program.",null,{"inputs":[],"output":{"name":"i32"}}],[11,"fmt","","",69,null],[11,"hash","","",69,null],[11,"eq","","",69,null],[11,"ne","","",69,null],[11,"clone","","",69,null],[11,"from_ll","","Convert a raw *SDL_version to Version.",69,{"inputs":[{"name":"sdl_version"}],"output":{"name":"version"}}],[11,"fmt","","",69,null],[0,"messagebox","sdl2","",null,null],[3,"MessageBoxFlag","sdl2::messagebox","",null,null],[5,"show_simple_message_box","","",null,{"inputs":[{"name":"messageboxflag"},{"name":"str"},{"name":"str"},{"name":"option"}],"output":{"name":"sdlresult"}}],[17,"MESSAGEBOX_ERROR","","",null,null],[17,"MESSAGEBOX_WARNING","","",null,null],[17,"MESSAGEBOX_INFORMATION","","",null,null],[11,"hash","","",70,null],[11,"cmp","","",70,null],[11,"partial_cmp","","",70,null],[11,"lt","","",70,null],[11,"le","","",70,null],[11,"gt","","",70,null],[11,"ge","","",70,null],[11,"clone","","",70,null],[11,"eq","","",70,null],[11,"ne","","",70,null],[11,"fmt","","",70,null],[11,"empty","","Returns an empty set of flags.",70,{"inputs":[],"output":{"name":"messageboxflag"}}],[11,"all","","Returns the set containing all flags.",70,{"inputs":[],"output":{"name":"messageboxflag"}}],[11,"bits","","Returns the raw value of the flags currently stored.",70,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",70,{"inputs":[{"name":"u32"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",70,{"inputs":[{"name":"u32"}],"output":{"name":"messageboxflag"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",70,null],[11,"is_all","","Returns `true` if all flags are currently set.",70,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",70,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",70,null],[11,"insert","","Inserts the specified flags in-place.",70,null],[11,"remove","","Removes the specified flags in-place.",70,null],[11,"toggle","","Toggles the specified flags in-place.",70,null],[11,"bitor","","Returns the union of the two sets of flags.",70,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",70,null],[11,"bitand","","Returns the intersection between the two sets of flags.",70,null],[11,"sub","","Returns the set difference of the two sets of flags.",70,null],[11,"not","","Returns the complement of this set of flags.",70,null],[0,"hint","sdl2","",null,null],[4,"Hint","sdl2::hint","",null,null],[13,"Default","","",71,null],[13,"Normal","","",71,null],[13,"Override","","",71,null],[5,"set","","",null,{"inputs":[{"name":"str"},{"name":"str"}],"output":{"name":"bool"}}],[5,"get","","",null,{"inputs":[{"name":"str"}],"output":{"name":"option"}}],[5,"set_with_priority","","",null,{"inputs":[{"name":"str"},{"name":"str"},{"name":"hint"}],"output":{"name":"bool"}}],[6,"SdlResult","sdl2","",null,null]],"paths":[[4,"Error"],[4,"EventType"],[4,"WindowEventId"],[4,"Event"],[3,"EventPump"],[3,"EventPollIterator"],[3,"EventWaitIterator"],[3,"EventWaitTimeoutIterator"],[4,"HatState"],[3,"Joystick"],[3,"Guid"],[4,"Axis"],[4,"Button"],[4,"MappingStatus"],[3,"GameController"],[4,"Keycode"],[4,"Scancode"],[3,"Mod"],[3,"KeyboardState"],[3,"ScancodeIterator"],[3,"PressedScancodeIterator"],[4,"SystemCursor"],[4,"Mouse"],[3,"Cursor"],[3,"MouseState"],[3,"Point"],[3,"Rect"],[3,"Surface"],[3,"SurfaceRef"],[3,"PixelMasks"],[4,"Color"],[4,"PixelFormatEnum"],[3,"Palette"],[3,"PixelFormat"],[3,"DisplayMode"],[4,"GLProfile"],[4,"FullscreenType"],[4,"WindowPos"],[3,"ContextFlagsBuilder"],[3,"ContextFlags"],[3,"GLContext"],[3,"Window"],[3,"WindowBuilder"],[3,"WindowPropertiesGetters"],[3,"WindowProperties"],[3,"Timer"],[3,"RendererInfo"],[3,"TextureQuery"],[4,"TextureAccess"],[4,"BlendMode"],[4,"RendererParent"],[3,"Renderer"],[3,"RendererBuilder"],[3,"RenderTarget"],[3,"Texture"],[3,"RWops"],[3,"Sdl"],[3,"Subsystem"],[3,"InitBuilder"],[3,"AudioSpecWAV"],[3,"AudioSpecDesired"],[3,"AudioSpec"],[4,"AudioFormat"],[4,"AudioStatus"],[8,"AudioCallback"],[8,"AudioFormatNum"],[3,"AudioDevice"],[3,"AudioDeviceLockGuard"],[3,"AudioCVT"],[3,"Version"],[3,"MessageBoxFlag"],[4,"Hint"]]}; initSearch(searchIndex);