var searchIndex = {}; searchIndex["enum_set"] = {"doc":"A structure for holding a set of enum variants.","items":[[3,"EnumSet","enum_set","A specialized set implementation to use enum types.",null,null],[3,"Iter","","An iterator over an EnumSet",null,null],[8,"CLike","","An interface for casting C-like enum to u32 and back. A typical\nimplementation can be seen below:",null,null],[10,"to_u32","","Converts a C-like enum to a `u32`.",0,null],[10,"from_u32","","Converts a `u32` to a C-like enum. This method only needs to be safe\nfor possible return values of `to_u32` of this trait.",0,{"inputs":[{"name":"u32"}],"output":{"name":"self"}}],[11,"cmp","","",1,null],[11,"partial_cmp","","",1,null],[11,"lt","","",1,null],[11,"le","","",1,null],[11,"gt","","",1,null],[11,"ge","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"clone","","",1,null],[11,"fmt","","",1,null],[11,"hash","","",1,null],[11,"new","","Returns an empty `EnumSet`.",1,{"inputs":[],"output":{"name":"enumset"}}],[11,"len","","Returns the number of elements in the given `EnumSet`.",1,null],[11,"is_empty","","Returns true if the `EnumSet` is empty.",1,null],[11,"clear","","",1,null],[11,"is_disjoint","","Returns `false` if the `EnumSet` contains any enum of the given `EnumSet`.",1,null],[11,"is_superset","","Returns `true` if a given `EnumSet` is included in this `EnumSet`.",1,null],[11,"is_subset","","Returns `true` if this `EnumSet` is included in the given `EnumSet`.",1,null],[11,"union","","Returns the union of both `EnumSets`.",1,null],[11,"intersection","","Returns the intersection of both `EnumSets`.",1,null],[11,"insert","","Adds an enum to the `EnumSet`, and returns `true` if it wasn't there before",1,null],[11,"remove","","Removes an enum from the EnumSet",1,null],[11,"contains","","Returns `true` if an `EnumSet` contains a given enum.",1,null],[11,"iter","","Returns an iterator over an `EnumSet`.",1,null],[11,"sub","","",1,null],[11,"bitor","","",1,null],[11,"bitand","","",1,null],[11,"bitxor","","",1,null],[11,"next","","",2,null],[11,"size_hint","","",2,null],[11,"from_iter","","",1,{"inputs":[{"name":"i"}],"output":{"name":"enumset"}}],[11,"extend","","",1,null]],"paths":[[8,"CLike"],[3,"EnumSet"],[3,"Iter"]]}; initSearch(searchIndex);