var searchIndex = {}; searchIndex["input"] = {"doc":"A flexible structure for user interactions\nto be used in window frameworks and widgets libraries.","items":[[3,"AfterRenderArgs","input","After render arguments.",null,null],[3,"IdleArgs","","Idle arguments, such as expected idle time in seconds.",null,null],[12,"dt","","Expected idle time in seconds.",0,null],[3,"RenderArgs","","Render arguments",null,null],[12,"ext_dt","","Extrapolated time in seconds, used to do smooth animation.",1,null],[12,"width","","The width of rendered area in points.",1,null],[12,"height","","The height of rendered area in points.",1,null],[12,"draw_width","","The width of rendered area in pixels.",1,null],[12,"draw_height","","The height of rendered area in pixels.",1,null],[3,"TouchArgs","","Touch arguments",null,null],[12,"device","","A unique identifier for touch device.",2,null],[12,"id","","A unique identifier for touch event.",2,null],[12,"x","","The x coordinate of the touch position, normalized 0..1.",2,null],[12,"y","","The y coordinate of the touch position, normalized 0..1.",2,null],[12,"z","","The z coordinate of the touch position, normalized 0..1.",2,null],[12,"px","","The x coordinate of the touch pressure direction.",2,null],[12,"py","","The y coordinate of the touch pressure direction.",2,null],[12,"pz","","The z coordinate of the touch pressure direction.",2,null],[12,"is_3d","","Whether the touch is in 3D.",2,null],[12,"touch","","The touch state.",2,null],[3,"UpdateArgs","","Update arguments, such as delta time in seconds",null,null],[12,"dt","","Delta time in seconds.",3,null],[3,"EventId","","Used to identify events arguments provided by traits.",null,null],[12,"0","","",4,null],[4,"Event","","Adds render and update events to input events",null,null],[13,"Render","","Render graphics.",5,null],[13,"AfterRender","","After rendering and swapping buffers.",5,null],[13,"Update","","Update the state of the application.",5,null],[13,"Idle","","Do background tasks that can be done incrementally.",5,null],[13,"Input","","Input event.",5,null],[4,"Touch","","Stores the touch state.",null,null],[13,"Start","","The start of touch, for example\na finger pressed down on a touch screen.",6,null],[13,"Move","","The move of touch, for example\na finger moving while touching a touch screen.",6,null],[13,"End","","The end of touch, for example\ntaking a finger away from a touch screen.",6,null],[13,"Cancel","","The cancel of touch, for example\nthe window loses focus.",6,null],[4,"Button","","Models different kinds of buttons.",null,null],[13,"Keyboard","","A keyboard button.",7,null],[13,"Mouse","","A mouse button.",7,null],[13,"Controller","","A controller button.",7,null],[4,"Motion","","Models different kinds of motion.",null,null],[13,"MouseCursor","","x and y in window coordinates.",8,null],[13,"MouseRelative","","x and y in relative coordinates.",8,null],[13,"MouseScroll","","x and y in scroll ticks.",8,null],[13,"ControllerAxis","","controller axis move event.",8,null],[13,"Touch","","touch event.",8,null],[4,"Input","","Models input events.",null,null],[13,"Press","","Pressed a button.",9,null],[13,"Release","","Released a button.",9,null],[13,"Move","","Moved mouse cursor.",9,null],[13,"Text","","Text (usually from keyboard).",9,null],[13,"Resize","","Window got resized.",9,null],[13,"Focus","","Window gained or lost focus.",9,null],[13,"Cursor","","Window gained or lost cursor.",9,null],[0,"controller","","Back-end agnostic controller events.",null,null],[3,"ControllerButton","input::controller","Components of a controller button event. Not guaranteed consistent across\nbackends.",null,null],[12,"id","","Which controller was the button on.",10,null],[12,"button","","Which button was pressed.",10,null],[3,"ControllerAxisArgs","","Components of a controller axis move event. Not guaranteed consistent across\nbackends.",null,null],[12,"id","","Which controller moved.",11,null],[12,"axis","","The axis that moved.",11,null],[12,"position","","Position of the controller. Usually [-1.0, 1.0], though backends may use\na different range for various devices.",11,null],[8,"ControllerAxisEvent","","The position of a controller axis changed.",null,null],[10,"from_controller_axis_args","","Creates a controller axis event.",12,{"inputs":[{"name":"controlleraxisargs"},{"name":"self"}],"output":{"name":"option"}}],[10,"controller_axis","","Calls closure if this is a controller axis event.",12,null],[11,"controller_axis_args","","Returns controller axis arguments.",12,null],[11,"hash","","",10,null],[11,"fmt","","",10,null],[11,"eq","","",10,null],[11,"ne","","",10,null],[11,"encode","","",10,null],[11,"decode","","",10,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"clone","","",10,null],[11,"new","","Create a new ControllerButton object. Intended for use by backends when\nemitting events.",10,{"inputs":[{"name":"i32"},{"name":"u8"}],"output":{"name":"self"}}],[11,"fmt","","",11,null],[11,"eq","","",11,null],[11,"ne","","",11,null],[11,"encode","","",11,null],[11,"decode","","",11,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"clone","","",11,null],[11,"new","","Create a new ControllerAxisArgs object. Intended for use by backends when\nemitting events.",11,{"inputs":[{"name":"i32"},{"name":"u8"},{"name":"f64"}],"output":{"name":"self"}}],[0,"keyboard","input","Back-end agnostic keyboard keys.",null,null],[3,"ModifierKey","input::keyboard","",null,null],[4,"Key","","Represent a keyboard key.\nKeycodes follows SDL http://wiki.libsdl.org/SDLKeycodeLookup",null,null],[13,"Unknown","","",13,null],[13,"Backspace","","",13,null],[13,"Tab","","",13,null],[13,"Return","","",13,null],[13,"Escape","","",13,null],[13,"Space","","",13,null],[13,"Exclaim","","",13,null],[13,"Quotedbl","","",13,null],[13,"Hash","","",13,null],[13,"Dollar","","",13,null],[13,"Percent","","",13,null],[13,"Ampersand","","",13,null],[13,"Quote","","",13,null],[13,"LeftParen","","",13,null],[13,"RightParen","","",13,null],[13,"Asterisk","","",13,null],[13,"Plus","","",13,null],[13,"Comma","","",13,null],[13,"Minus","","",13,null],[13,"Period","","",13,null],[13,"Slash","","",13,null],[13,"D0","","",13,null],[13,"D1","","",13,null],[13,"D2","","",13,null],[13,"D3","","",13,null],[13,"D4","","",13,null],[13,"D5","","",13,null],[13,"D6","","",13,null],[13,"D7","","",13,null],[13,"D8","","",13,null],[13,"D9","","",13,null],[13,"Colon","","",13,null],[13,"Semicolon","","",13,null],[13,"Less","","",13,null],[13,"Equals","","",13,null],[13,"Greater","","",13,null],[13,"Question","","",13,null],[13,"At","","",13,null],[13,"LeftBracket","","",13,null],[13,"Backslash","","",13,null],[13,"RightBracket","","",13,null],[13,"Caret","","",13,null],[13,"Underscore","","",13,null],[13,"Backquote","","",13,null],[13,"A","","",13,null],[13,"B","","",13,null],[13,"C","","",13,null],[13,"D","","",13,null],[13,"E","","",13,null],[13,"F","","",13,null],[13,"G","","",13,null],[13,"H","","",13,null],[13,"I","","",13,null],[13,"J","","",13,null],[13,"K","","",13,null],[13,"L","","",13,null],[13,"M","","",13,null],[13,"N","","",13,null],[13,"O","","",13,null],[13,"P","","",13,null],[13,"Q","","",13,null],[13,"R","","",13,null],[13,"S","","",13,null],[13,"T","","",13,null],[13,"U","","",13,null],[13,"V","","",13,null],[13,"W","","",13,null],[13,"X","","",13,null],[13,"Y","","",13,null],[13,"Z","","",13,null],[13,"Delete","","",13,null],[13,"CapsLock","","",13,null],[13,"F1","","",13,null],[13,"F2","","",13,null],[13,"F3","","",13,null],[13,"F4","","",13,null],[13,"F5","","",13,null],[13,"F6","","",13,null],[13,"F7","","",13,null],[13,"F8","","",13,null],[13,"F9","","",13,null],[13,"F10","","",13,null],[13,"F11","","",13,null],[13,"F12","","",13,null],[13,"PrintScreen","","",13,null],[13,"ScrollLock","","",13,null],[13,"Pause","","",13,null],[13,"Insert","","",13,null],[13,"Home","","",13,null],[13,"PageUp","","",13,null],[13,"End","","",13,null],[13,"PageDown","","",13,null],[13,"Right","","",13,null],[13,"Left","","",13,null],[13,"Down","","",13,null],[13,"Up","","",13,null],[13,"NumLockClear","","",13,null],[13,"NumPadDivide","","",13,null],[13,"NumPadMultiply","","",13,null],[13,"NumPadMinus","","",13,null],[13,"NumPadPlus","","",13,null],[13,"NumPadEnter","","",13,null],[13,"NumPad1","","",13,null],[13,"NumPad2","","",13,null],[13,"NumPad3","","",13,null],[13,"NumPad4","","",13,null],[13,"NumPad5","","",13,null],[13,"NumPad6","","",13,null],[13,"NumPad7","","",13,null],[13,"NumPad8","","",13,null],[13,"NumPad9","","",13,null],[13,"NumPad0","","",13,null],[13,"NumPadPeriod","","",13,null],[13,"Application","","",13,null],[13,"Power","","",13,null],[13,"NumPadEquals","","",13,null],[13,"F13","","",13,null],[13,"F14","","",13,null],[13,"F15","","",13,null],[13,"F16","","",13,null],[13,"F17","","",13,null],[13,"F18","","",13,null],[13,"F19","","",13,null],[13,"F20","","",13,null],[13,"F21","","",13,null],[13,"F22","","",13,null],[13,"F23","","",13,null],[13,"F24","","",13,null],[13,"Execute","","",13,null],[13,"Help","","",13,null],[13,"Menu","","",13,null],[13,"Select","","",13,null],[13,"Stop","","",13,null],[13,"Again","","",13,null],[13,"Undo","","",13,null],[13,"Cut","","",13,null],[13,"Copy","","",13,null],[13,"Paste","","",13,null],[13,"Find","","",13,null],[13,"Mute","","",13,null],[13,"VolumeUp","","",13,null],[13,"VolumeDown","","",13,null],[13,"NumPadComma","","",13,null],[13,"NumPadEqualsAS400","","",13,null],[13,"AltErase","","",13,null],[13,"Sysreq","","",13,null],[13,"Cancel","","",13,null],[13,"Clear","","",13,null],[13,"Prior","","",13,null],[13,"Return2","","",13,null],[13,"Separator","","",13,null],[13,"Out","","",13,null],[13,"Oper","","",13,null],[13,"ClearAgain","","",13,null],[13,"CrSel","","",13,null],[13,"ExSel","","",13,null],[13,"NumPad00","","",13,null],[13,"NumPad000","","",13,null],[13,"ThousandsSeparator","","",13,null],[13,"DecimalSeparator","","",13,null],[13,"CurrencyUnit","","",13,null],[13,"CurrencySubUnit","","",13,null],[13,"NumPadLeftParen","","",13,null],[13,"NumPadRightParen","","",13,null],[13,"NumPadLeftBrace","","",13,null],[13,"NumPadRightBrace","","",13,null],[13,"NumPadTab","","",13,null],[13,"NumPadBackspace","","",13,null],[13,"NumPadA","","",13,null],[13,"NumPadB","","",13,null],[13,"NumPadC","","",13,null],[13,"NumPadD","","",13,null],[13,"NumPadE","","",13,null],[13,"NumPadF","","",13,null],[13,"NumPadXor","","",13,null],[13,"NumPadPower","","",13,null],[13,"NumPadPercent","","",13,null],[13,"NumPadLess","","",13,null],[13,"NumPadGreater","","",13,null],[13,"NumPadAmpersand","","",13,null],[13,"NumPadDblAmpersand","","",13,null],[13,"NumPadVerticalBar","","",13,null],[13,"NumPadDblVerticalBar","","",13,null],[13,"NumPadColon","","",13,null],[13,"NumPadHash","","",13,null],[13,"NumPadSpace","","",13,null],[13,"NumPadAt","","",13,null],[13,"NumPadExclam","","",13,null],[13,"NumPadMemStore","","",13,null],[13,"NumPadMemRecall","","",13,null],[13,"NumPadMemClear","","",13,null],[13,"NumPadMemAdd","","",13,null],[13,"NumPadMemSubtract","","",13,null],[13,"NumPadMemMultiply","","",13,null],[13,"NumPadMemDivide","","",13,null],[13,"NumPadPlusMinus","","",13,null],[13,"NumPadClear","","",13,null],[13,"NumPadClearEntry","","",13,null],[13,"NumPadBinary","","",13,null],[13,"NumPadOctal","","",13,null],[13,"NumPadDecimal","","",13,null],[13,"NumPadHexadecimal","","",13,null],[13,"LCtrl","","",13,null],[13,"LShift","","",13,null],[13,"LAlt","","",13,null],[13,"LGui","","",13,null],[13,"RCtrl","","",13,null],[13,"RShift","","",13,null],[13,"RAlt","","",13,null],[13,"RGui","","",13,null],[13,"Mode","","",13,null],[13,"AudioNext","","",13,null],[13,"AudioPrev","","",13,null],[13,"AudioStop","","",13,null],[13,"AudioPlay","","",13,null],[13,"AudioMute","","",13,null],[13,"MediaSelect","","",13,null],[13,"Www","","",13,null],[13,"Mail","","",13,null],[13,"Calculator","","",13,null],[13,"Computer","","",13,null],[13,"AcSearch","","",13,null],[13,"AcHome","","",13,null],[13,"AcBack","","",13,null],[13,"AcForward","","",13,null],[13,"AcStop","","",13,null],[13,"AcRefresh","","",13,null],[13,"AcBookmarks","","",13,null],[13,"BrightnessDown","","",13,null],[13,"BrightnessUp","","",13,null],[13,"DisplaySwitch","","",13,null],[13,"KbdIllumToggle","","",13,null],[13,"KbdIllumDown","","",13,null],[13,"KbdIllumUp","","",13,null],[13,"Eject","","",13,null],[13,"Sleep","","",13,null],[17,"NO_MODIFIER","","No modifier.",null,null],[17,"CTRL","","Ctrl.",null,null],[17,"SHIFT","","Shift.",null,null],[17,"ALT","","Alt.",null,null],[17,"GUI","","Gui.",null,null],[17,"CTRL_SHIFT","","Ctrl + Shift.",null,null],[17,"CTRL_ALT","","Ctrl + Alt.",null,null],[17,"CTRL_GUI","","Ctrl + Gui.",null,null],[17,"CTRL_SHIFT_ALT","","Ctrl + Shift + Alt.",null,null],[17,"CTRL_SHIFT_GUI","","Ctrl + Shift + Gui.",null,null],[17,"CTRL_SHIFT_ALT_GUI","","Ctrl + Shift + Alt + Gui.",null,null],[17,"SHIFT_ALT","","Shift + Alt.",null,null],[17,"SHIFT_GUI","","Shift + Gui.",null,null],[17,"SHIFT_ALT_GUI","","Shift + Alt + Gui.",null,null],[17,"ALT_GUI","","Alt + Gui.",null,null],[11,"hash","","",14,null],[11,"cmp","","",14,null],[11,"partial_cmp","","",14,null],[11,"lt","","",14,null],[11,"le","","",14,null],[11,"gt","","",14,null],[11,"ge","","",14,null],[11,"clone","","",14,null],[11,"eq","","",14,null],[11,"ne","","",14,null],[11,"encode","","",14,null],[11,"decode","","",14,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"fmt","","",14,null],[11,"empty","","Returns an empty set of flags.",14,{"inputs":[],"output":{"name":"modifierkey"}}],[11,"all","","Returns the set containing all flags.",14,{"inputs":[],"output":{"name":"modifierkey"}}],[11,"bits","","Returns the raw value of the flags currently stored.",14,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",14,{"inputs":[{"name":"u8"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",14,{"inputs":[{"name":"u8"}],"output":{"name":"modifierkey"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",14,null],[11,"is_all","","Returns `true` if all flags are currently set.",14,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",14,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",14,null],[11,"insert","","Inserts the specified flags in-place.",14,null],[11,"remove","","Removes the specified flags in-place.",14,null],[11,"toggle","","Toggles the specified flags in-place.",14,null],[11,"bitor","","Returns the union of the two sets of flags.",14,null],[11,"bitor_assign","","Adds the set of flags.",14,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",14,null],[11,"bitxor_assign","","Toggles the set of flags.",14,null],[11,"bitand","","Returns the intersection between the two sets of flags.",14,null],[11,"bitand_assign","","Disables all flags disabled in the set.",14,null],[11,"sub","","Returns the set difference of the two sets of flags.",14,null],[11,"sub_assign","","Disables all flags enabled in the set.",14,null],[11,"not","","Returns the complement of this set of flags.",14,null],[11,"extend","","",14,null],[11,"from_iter","","",14,{"inputs":[{"name":"t"}],"output":{"name":"modifierkey"}}],[11,"event","","Change modifier key state depending on input.",14,null],[11,"default","","",14,{"inputs":[],"output":{"name":"modifierkey"}}],[11,"hash","","",13,null],[11,"fmt","","",13,null],[11,"encode","","",13,null],[11,"decode","","",13,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"clone","","",13,null],[11,"from","","",13,{"inputs":[{"name":"u32"}],"output":{"name":"key"}}],[11,"eq","","",13,null],[11,"partial_cmp","","",13,null],[11,"cmp","","",13,null],[11,"code","","Returns an id of the key",13,null],[0,"mouse","input","Back-end agnostic mouse buttons.",null,null],[4,"MouseButton","input::mouse","Represent a mouse button.",null,null],[13,"Unknown","","Unknown mouse button.",15,null],[13,"Left","","Left mouse button.",15,null],[13,"Right","","Right mouse button.",15,null],[13,"Middle","","Middle mouse button.",15,null],[13,"X1","","Extra mouse button number 1.",15,null],[13,"X2","","Extra mouse button number 2.",15,null],[13,"Button6","","Mouse button number 6.",15,null],[13,"Button7","","Mouse button number 7.",15,null],[13,"Button8","","Mouse button number 8.",15,null],[8,"MouseCursorEvent","","The position of the mouse cursor",null,null],[10,"from_xy","","Creates a mouse cursor event.",16,{"inputs":[{"name":"f64"},{"name":"f64"},{"name":"self"}],"output":{"name":"option"}}],[10,"mouse_cursor","","Calls closure if this is a mouse cursor event.",16,null],[11,"mouse_cursor_args","","Returns mouse cursor arguments.",16,null],[8,"MouseRelativeEvent","","The relative movement of mouse cursor",null,null],[10,"from_xy","","Creates a mouse relative event.",17,{"inputs":[{"name":"f64"},{"name":"f64"},{"name":"self"}],"output":{"name":"option"}}],[10,"mouse_relative","","Calls closure if this is a mouse relative event.",17,null],[11,"mouse_relative_args","","Returns mouse relative arguments.",17,null],[8,"MouseScrollEvent","","The scroll of the mouse wheel",null,null],[10,"from_xy","","Creates a mouse scroll event.",18,{"inputs":[{"name":"f64"},{"name":"f64"},{"name":"self"}],"output":{"name":"option"}}],[10,"mouse_scroll","","Calls a closure if this is a mouse scroll event.",18,null],[11,"mouse_scroll_args","","Returns mouse scroll arguments.",18,null],[11,"fmt","","",15,null],[11,"hash","","",15,null],[11,"partial_cmp","","",15,null],[11,"cmp","","",15,null],[11,"eq","","",15,null],[11,"encode","","",15,null],[11,"decode","","",15,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"clone","","",15,null],[11,"from","","",15,{"inputs":[{"name":"u32"}],"output":{"name":"mousebutton"}}],[0,"generic_event","input","Trait for generic events",null,null],[8,"GenericEvent","input::generic_event","Implemented by all events",null,null],[10,"event_id","","The id of this event.",19,null],[10,"with_args","","Calls closure with arguments",19,null],[10,"from_args","","Converts from arguments to `Self`",19,{"inputs":[{"name":"eventid"},{"name":"any"},{"name":"self"}],"output":{"name":"option"}}],[11,"event_id","input","",9,null],[11,"with_args","","",9,null],[11,"from_args","","",9,{"inputs":[{"name":"eventid"},{"name":"any"},{"name":"self"}],"output":{"name":"option"}}],[11,"event_id","","",5,null],[11,"with_args","","",5,null],[11,"from_args","","",5,{"inputs":[{"name":"eventid"},{"name":"any"},{"name":"self"}],"output":{"name":"option"}}],[11,"fmt","","",20,null],[11,"eq","","",20,null],[11,"clone","","",20,null],[11,"fmt","","",5,null],[11,"eq","","",5,null],[11,"ne","","",5,null],[11,"clone","","",5,null],[11,"from","","",5,{"inputs":[{"name":"renderargs"}],"output":{"name":"self"}}],[11,"from","","",5,{"inputs":[{"name":"afterrenderargs"}],"output":{"name":"self"}}],[11,"from","","",5,{"inputs":[{"name":"updateargs"}],"output":{"name":"self"}}],[11,"from","","",5,{"inputs":[{"name":"idleargs"}],"output":{"name":"self"}}],[11,"from","","",5,{"inputs":[{"name":"input"}],"output":{"name":"self"}}],[11,"fmt","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"clone","","",0,null],[11,"fmt","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"clone","","",1,null],[11,"viewport","","Returns viewport information filling entire render area.",1,null],[11,"fmt","","",6,null],[11,"eq","","",6,null],[11,"encode","","",6,null],[11,"decode","","",6,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"clone","","",6,null],[11,"fmt","","",2,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"encode","","",2,null],[11,"decode","","",2,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"clone","","",2,null],[11,"new","","Creates arguments for 2D touch.",2,null],[11,"new_3d","","Creates arguments for 3D touch.",2,null],[11,"position","","The position of the touch in 2D.",2,null],[11,"position_3d","","The position of the touch in 3D.",2,null],[11,"pressure","","The pressure magnitude, normalized 0..1.",2,null],[11,"pressure_3d","","The pressure vector in 3D.",2,null],[11,"fmt","","",3,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"clone","","",3,null],[8,"AfterRenderEvent","","After rendering and buffers are swapped.",null,null],[10,"from_after_render_args","","Creates an after render event.",21,{"inputs":[{"name":"afterrenderargs"},{"name":"self"}],"output":{"name":"option"}}],[10,"after_render","","Calls closure if this is an after render event.",21,null],[11,"after_render_args","","Returns after render arguments.",21,null],[8,"CursorEvent","","When window gets or loses cursor",null,null],[10,"from_cursor","","Creates a cursor event.",22,{"inputs":[{"name":"bool"},{"name":"self"}],"output":{"name":"option"}}],[10,"cursor","","Calls closure if this is a cursor event.",22,null],[11,"cursor_args","","Returns cursor arguments.",22,null],[8,"FocusEvent","","When window gets or loses focus",null,null],[10,"from_focused","","Creates a focus event.",23,{"inputs":[{"name":"bool"},{"name":"self"}],"output":{"name":"option"}}],[10,"focus","","Calls closure if this is a focus event.",23,null],[11,"focus_args","","Returns focus arguments.",23,null],[8,"IdleEvent","","When background tasks should be performed",null,null],[10,"from_idle_args","","Creates an idle event.",24,{"inputs":[{"name":"idleargs"},{"name":"self"}],"output":{"name":"option"}}],[11,"from_dt","","Creates an update event with delta time.",24,{"inputs":[{"name":"f64"},{"name":"self"}],"output":{"name":"option"}}],[10,"idle","","Calls closure if this is an idle event.",24,null],[11,"idle_args","","Returns idle arguments.",24,null],[8,"PressEvent","","The press of a button",null,null],[10,"from_button","","Creates a press event.",25,{"inputs":[{"name":"button"},{"name":"self"}],"output":{"name":"option"}}],[10,"press","","Calls closure if this is a press event.",25,null],[11,"press_args","","Returns press arguments.",25,null],[8,"ReleaseEvent","","The release of a button",null,null],[10,"from_button","","Creates a release event.",26,{"inputs":[{"name":"button"},{"name":"self"}],"output":{"name":"option"}}],[10,"release","","Calls closure if this is a release event.",26,null],[11,"release_args","","Returns release arguments.",26,null],[8,"ResizeEvent","","When the window is resized",null,null],[10,"from_width_height","","Creates a resize event.",27,{"inputs":[{"name":"u32"},{"name":"u32"},{"name":"self"}],"output":{"name":"option"}}],[10,"resize","","Calls closure if this is a resize event.",27,null],[11,"resize_args","","Returns resize arguments.",27,null],[8,"RenderEvent","","When the next frame should be rendered",null,null],[10,"from_render_args","","Creates a render event.",28,{"inputs":[{"name":"renderargs"},{"name":"self"}],"output":{"name":"option"}}],[10,"render","","Calls closure if this is a render event.",28,null],[11,"render_args","","Returns render arguments.",28,null],[8,"TextEvent","","When receiving text from user, such as typing a character",null,null],[10,"from_text","","Creates a text event.",29,{"inputs":[{"name":"str"},{"name":"self"}],"output":{"name":"option"}}],[10,"text","","Calls closure if this is a text event.",29,null],[11,"text_args","","Returns text arguments.",29,null],[8,"TouchEvent","","When a touch is started, moved, ended or cancelled.",null,null],[10,"from_touch_args","","Creates a touch event.",30,{"inputs":[{"name":"touchargs"},{"name":"self"}],"output":{"name":"option"}}],[10,"touch","","Calls closure if this is a touch event.",30,null],[11,"touch_args","","Returns touch arguments.",30,null],[8,"UpdateEvent","","When the application state should be updated",null,null],[10,"from_update_args","","Creates an update event.",31,{"inputs":[{"name":"updateargs"},{"name":"self"}],"output":{"name":"option"}}],[11,"from_dt","","Creates an update event with delta time.",31,{"inputs":[{"name":"f64"},{"name":"self"}],"output":{"name":"option"}}],[10,"update","","Calls closure if this is an update event.",31,null],[11,"update_args","","Returns update arguments.",31,null],[11,"fmt","","",4,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"clone","","",4,null],[11,"fmt","","",7,null],[11,"hash","","",7,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"encode","","",7,null],[11,"decode","","",7,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"clone","","",7,null],[11,"fmt","","",8,null],[11,"eq","","",8,null],[11,"ne","","",8,null],[11,"encode","","",8,null],[11,"decode","","",8,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"clone","","",8,null],[11,"fmt","","",9,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"encode","","",9,null],[11,"decode","","",9,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"clone","","",9,null],[11,"from","","",7,{"inputs":[{"name":"key"}],"output":{"name":"self"}}],[11,"from","","",7,{"inputs":[{"name":"mousebutton"}],"output":{"name":"self"}}],[11,"from","","",7,{"inputs":[{"name":"controllerbutton"}],"output":{"name":"self"}}],[11,"from","","",8,{"inputs":[{"name":"controlleraxisargs"}],"output":{"name":"self"}}],[11,"from","","",9,{"inputs":[{"name":"motion"}],"output":{"name":"self"}}],[11,"after_render_args","","Returns after render arguments.",21,null],[11,"cursor_args","","Returns cursor arguments.",22,null],[11,"focus_args","","Returns focus arguments.",23,null],[11,"from_dt","","Creates an update event with delta time.",24,{"inputs":[{"name":"f64"},{"name":"self"}],"output":{"name":"option"}}],[11,"idle_args","","Returns idle arguments.",24,null],[11,"press_args","","Returns press arguments.",25,null],[11,"release_args","","Returns release arguments.",26,null],[11,"render_args","","Returns render arguments.",28,null],[11,"resize_args","","Returns resize arguments.",27,null],[11,"text_args","","Returns text arguments.",29,null],[11,"touch_args","","Returns touch arguments.",30,null],[11,"from_dt","","Creates an update event with delta time.",31,{"inputs":[{"name":"f64"},{"name":"self"}],"output":{"name":"option"}}],[11,"update_args","","Returns update arguments.",31,null]],"paths":[[3,"IdleArgs"],[3,"RenderArgs"],[3,"TouchArgs"],[3,"UpdateArgs"],[3,"EventId"],[4,"Event"],[4,"Touch"],[4,"Button"],[4,"Motion"],[4,"Input"],[3,"ControllerButton"],[3,"ControllerAxisArgs"],[8,"ControllerAxisEvent"],[4,"Key"],[3,"ModifierKey"],[4,"MouseButton"],[8,"MouseCursorEvent"],[8,"MouseRelativeEvent"],[8,"MouseScrollEvent"],[8,"GenericEvent"],[3,"AfterRenderArgs"],[8,"AfterRenderEvent"],[8,"CursorEvent"],[8,"FocusEvent"],[8,"IdleEvent"],[8,"PressEvent"],[8,"ReleaseEvent"],[8,"ResizeEvent"],[8,"RenderEvent"],[8,"TextEvent"],[8,"TouchEvent"],[8,"UpdateEvent"]]}; initSearch(searchIndex);