var searchIndex = {}; searchIndex["docopt"] = {"doc":"Docopt for Rust. This implementation conforms to the\n[official description of Docopt](http://docopt.org/) and\n[passes its test suite](https://github.com/docopt/docopt/pull/201).","items":[[3,"ArgvMap","docopt","A map containing matched values from command line arguments.",null,null],[3,"Decoder","","Decoder for `ArgvMap` into your own `Decodable` types.",null,null],[3,"Docopt","","The main Docopt type, which is constructed with a Docopt usage string.",null,null],[4,"Error","","Represents the different types of Docopt errors.",null,null],[13,"Usage","","Parsing the usage string failed.",0,null],[13,"Argv","","Parsing the argv specified failed.",0,null],[13,"NoMatch","","The given argv parsed successfully, but it did not match any example\nusage of the program.",0,null],[13,"Decode","","This indicates a problem decoding a successful argv match into a\ndecodable value.",0,null],[13,"WithProgramUsage","","Parsing failed, and the program usage should be printed next to the\nfailure message. Typically this wraps `Argv` and `NoMatch` errors.",0,null],[13,"Help","","Decoding or parsing failed because the command line specified that the\nhelp message should be printed.",0,null],[13,"Version","","Decoding or parsing failed because the command line specified that the\nversion should be printed",0,null],[4,"Value","","A matched command line value.",null,null],[13,"Switch","","A boolean value from a flag that has no argument.",1,null],[13,"Counted","","The number of occurrences of a repeated flag.",1,null],[13,"Plain","","A positional or flag argument.",1,null],[13,"List","","A List of positional or flag arguments.",1,null],[11,"fmt","","",0,null],[11,"fatal","","Return whether this was a fatal error or not.",0,null],[11,"exit","","Print this error and immediately exit the program.",0,null],[11,"fmt","","",0,null],[11,"description","","",0,null],[11,"cause","","",0,null],[11,"fmt","","",2,null],[11,"clone","","",2,null],[11,"new","","Parse the Docopt usage string given.",2,{"inputs":[{"name":"s"}],"output":{"name":"result"}}],[11,"decode","","Parse and decode the given argv.",2,null],[11,"parse","","Parse command line arguments and try to match them against a usage\npattern specified in the Docopt string.",2,null],[11,"argv","","Set the argv to be used for Docopt parsing.",2,null],[11,"options_first","","Enables the "options first" Docopt behavior.",2,null],[11,"help","","Enables automatic handling of `--help`.",2,null],[11,"version","","Enables automatic handling of `--version`.",2,null],[11,"clone","","",3,null],[11,"decode","","Tries to decode the map of values into a struct.",3,null],[11,"get_bool","","Finds the value corresponding to `key` and calls `as_bool()` on it.\nIf the key does not exist, `false` is returned.",3,null],[11,"get_count","","Finds the value corresponding to `key` and calls `as_count()` on it.\nIf the key does not exist, `0` is returned.",3,null],[11,"get_str","","Finds the value corresponding to `key` and calls `as_str()` on it.\nIf the key does not exist, `""` is returned.",3,null],[11,"get_vec","","Finds the value corresponding to `key` and calls `as_vec()` on it.\nIf the key does not exist, `vec!()` is returned.",3,null],[11,"find","","Return the raw value corresponding to some `key`.",3,null],[11,"len","","Return the number of values, not including synonyms.",3,null],[11,"fmt","","",3,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"as_bool","","Returns the value as a bool.",1,null],[11,"as_count","","Returns the value as a count of the number of times it occurred.",1,null],[11,"as_str","","Returns the value as a string.",1,null],[11,"as_vec","","Returns the value as a list of strings.",1,null],[11,"error","","",4,null],[11,"read_nil","","",4,null],[11,"read_usize","","",4,null],[11,"read_u64","","",4,null],[11,"read_u32","","",4,null],[11,"read_u16","","",4,null],[11,"read_u8","","",4,null],[11,"read_isize","","",4,null],[11,"read_i64","","",4,null],[11,"read_i32","","",4,null],[11,"read_i16","","",4,null],[11,"read_i8","","",4,null],[11,"read_bool","","",4,null],[11,"read_f64","","",4,null],[11,"read_f32","","",4,null],[11,"read_char","","",4,null],[11,"read_str","","",4,null],[11,"read_enum","","",4,null],[11,"read_enum_variant","","",4,null],[11,"read_enum_variant_arg","","",4,null],[11,"read_enum_struct_variant","","",4,null],[11,"read_enum_struct_variant_field","","",4,null],[11,"read_struct","","",4,null],[11,"read_struct_field","","",4,null],[11,"read_tuple","","",4,null],[11,"read_tuple_arg","","",4,null],[11,"read_tuple_struct","","",4,null],[11,"read_tuple_struct_arg","","",4,null],[11,"read_option","","",4,null],[11,"read_seq","","",4,null],[11,"read_seq_elt","","",4,null],[11,"read_map","","",4,null],[11,"read_map_elt_key","","",4,null],[11,"read_map_elt_val","","",4,null]],"paths":[[4,"Error"],[4,"Value"],[3,"Docopt"],[3,"ArgvMap"],[3,"Decoder"]]}; initSearch(searchIndex);