var searchIndex = {}; searchIndex["atomic_option"] = {"doc":"# atomic-option","items":[[3,"AtomicOption","atomic_option","An atomic version of `Option<Box<T>>`, useful for moving owned objects\nbetween threads in a wait-free manner.",null,null],[11,"new","","Create a new AtomicOption storing the specified data.",0,{"inputs":[{"name":"box"}],"output":{"name":"atomicoption"}}],[11,"empty","","Create a new AtomicOption storing None.",0,{"inputs":[],"output":{"name":"atomicoption"}}],[11,"take","","Take the value out of the AtomicOption, if there is one.",0,null],[11,"swap","","Swap the value in the AtomicOption with a new one, returning the\nold value if there was one.",0,null],[11,"replace","","Replace the Option in the AtomicOption with a new one, returning the old option.",0,null],[11,"try_store","","Store the new value in the AtomicOption iff it currently contains a None.",0,null],[11,"spinlock","","Execute a `compare_and_swap` loop until there is a value in the AtomicOption,\nthen return it.",0,null],[11,"load_raw","","Get the raw value stored in the AtomicOption.",0,null],[11,"from","","",0,{"inputs":[{"name":"option"}],"output":{"name":"atomicoption"}}],[11,"drop","","",0,null]],"paths":[[3,"AtomicOption"]]}; initSearch(searchIndex);