var searchIndex = {}; searchIndex["android_looper_sys"] = {"doc":"<a href="https://github.com/Nercury/android_looper-sys-rs">\n<img style="position: absolute; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_orange_ff7600.png" alt="Fork me on GitHub">\n</a>\n<style>.sidebar { margin-top: 53px }</style>","items":[[4,"ALooper","android_looper_sys","ALooper",null,null],[4,"LooperPrepareOpts","","Option for for `ALooper_prepare()`.",null,null],[13,"AllowNonCallbacks","","`ALLOW_NON_CALLBACKS`",0,null],[13,"None","","`0` value, allow only callbacks",0,null],[4,"LooperPoll","","Result from `ALooper_pollOnce()` and `ALooper_pollAll()`.",null,null],[13,"Wake","","`ALOOPER_POLL_WAKE`",1,null],[13,"Callback","","`ALOOPER_POLL_CALLBACK`",1,null],[13,"Timeout","","`ALOOPER_POLL_TIMEOUT`",1,null],[13,"Error","","`ALOOPER_POLL_ERROR`",1,null],[5,"ALooper_forThread","","Returns the looper associated with the calling thread, or NULL if\nthere is not one.",null,null],[5,"ALooper_prepare","","Prepares a looper associated with the calling thread, and returns it.\nIf the thread already has a looper, it is returned. Otherwise, a new\none is created, associated with the thread, and returned.",null,null],[5,"ALooper_acquire","","Acquire a reference on the given ALooper object. This prevents the object\nfrom being deleted until the reference is removed. This is only needed\nto safely hand an ALooper from one thread to another.",null,null],[5,"ALooper_release","","Remove a reference that was previously acquired with ALooper_acquire().",null,null],[5,"ALooper_pollOnce","","Waits for events to be available, with optional timeout in milliseconds.\nInvokes callbacks for all file descriptors on which an event occurred.",null,null],[5,"ALooper_pollAll","","Like ALooper_pollOnce(), but performs all pending callbacks until all\ndata has been consumed or a file descriptor is available with no callback.\nThis function will never return ALOOPER_POLL_CALLBACK.",null,null],[5,"ALooper_wake","","Wakes the poll asynchronously.",null,null],[5,"ALooper_addFd","","Adds a new file descriptor to be polled by the looper.\nIf the same file descriptor was previously added, it is replaced.",null,null],[5,"ALooper_removeFd","","Removes a previously added file descriptor from the looper.",null,null],[0,"event","","Flags for file descriptor events that a looper can monitor.",null,null],[3,"Type","android_looper_sys::event","",null,null],[17,"INPUT","","`ALOOPER_EVENT_INPUT`",null,null],[17,"OUTPUT","","`ALOOPER_EVENT_OUTPUT`",null,null],[17,"ERROR","","`ALOOPER_EVENT_ERROR`",null,null],[17,"HANGUP","","`ALOOPER_EVENT_HANGUP`",null,null],[17,"INVALID","","`ALOOPER_EVENT_INVALID`",null,null],[11,"hash","","",2,null],[11,"cmp","","",2,null],[11,"partial_cmp","","",2,null],[11,"lt","","",2,null],[11,"le","","",2,null],[11,"gt","","",2,null],[11,"ge","","",2,null],[11,"clone","","",2,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"fmt","","",2,null],[11,"empty","","Returns an empty set of flags.",2,{"inputs":[],"output":{"name":"type"}}],[11,"all","","Returns the set containing all flags.",2,{"inputs":[],"output":{"name":"type"}}],[11,"bits","","Returns the raw value of the flags currently stored.",2,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",2,{"inputs":[{"name":"isize"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",2,{"inputs":[{"name":"isize"}],"output":{"name":"type"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",2,null],[11,"is_all","","Returns `true` if all flags are currently set.",2,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",2,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",2,null],[11,"insert","","Inserts the specified flags in-place.",2,null],[11,"remove","","Removes the specified flags in-place.",2,null],[11,"toggle","","Toggles the specified flags in-place.",2,null],[11,"bitor","","Returns the union of the two sets of flags.",2,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",2,null],[11,"bitand","","Returns the intersection between the two sets of flags.",2,null],[11,"sub","","Returns the set difference of the two sets of flags.",2,null],[11,"not","","Returns the complement of this set of flags.",2,null],[11,"from_iter","","",2,{"inputs":[{"name":"t"}],"output":{"name":"type"}}],[6,"ALooper_callbackFunc","android_looper_sys","For callback-based event loops, this is the prototype of the function\nthat is called when a file descriptor event occurs.\nIt is given the file descriptor it is associated with,\na bitmask of the poll events that were triggered (typically ALOOPER_EVENT_INPUT),\nand the data pointer that was originally supplied.",null,null],[11,"clone","","",0,null],[11,"clone","","",1,null]],"paths":[[4,"LooperPrepareOpts"],[4,"LooperPoll"],[3,"Type"]]}; initSearch(searchIndex);