var searchIndex = {}; searchIndex["mustache"] = {"doc":"","items":[[3,"Template","mustache","`Template` represents a compiled mustache file.",null,null],[3,"Context","","Represents the shared metadata needed to compile and render a mustache\ntemplate.",null,null],[12,"template_path","","",0,null],[12,"template_extension","","",0,null],[4,"Data","","",null,null],[13,"OptVal","","",1,null],[13,"StrVal","","",1,null],[13,"Bool","","",1,null],[13,"VecVal","","",1,null],[13,"Map","","",1,null],[13,"Fun","","",1,null],[5,"compile_iter","","Compiles a template from an `Iterator<char>`.",null,{"inputs":[{"name":"t"}],"output":{"name":"template"}}],[5,"compile_path","","Compiles a template from a path.\nreturns None if the file cannot be read OR the file is not UTF-8 encoded",null,{"inputs":[{"name":"u"}],"output":{"name":"result"}}],[5,"compile_str","","Compiles a template from a string.",null,{"inputs":[{"name":"str"}],"output":{"name":"template"}}],[0,"builder","","",null,null],[3,"MapBuilder","mustache::builder","`MapBuilder` is a helper type that construct `Data` types.",null,null],[3,"VecBuilder","","",null,null],[11,"new","","Create a `MapBuilder`",2,{"inputs":[],"output":{"name":"mapbuilder"}}],[11,"insert","","Add an `Encodable` to the `MapBuilder`.",2,null],[11,"insert_str","","Add a `String` to the `MapBuilder`.",2,null],[11,"insert_bool","","Add a `bool` to the `MapBuilder`.",2,null],[11,"insert_vec","","Add a `Vec` to the `MapBuilder`.",2,null],[11,"insert_map","","Add a `Map` to the `MapBuilder`.",2,null],[11,"insert_fn","","Add a function to the `MapBuilder`.",2,null],[11,"build","","Return the built `Data`.",2,null],[11,"new","","Create a `VecBuilder`",3,{"inputs":[],"output":{"name":"vecbuilder"}}],[11,"push","","Add an `Encodable` to the `VecBuilder`.",3,null],[11,"push_str","","Add a `String` to the `VecBuilder`.",3,null],[11,"push_bool","","Add a `bool` to the `VecBuilder`.",3,null],[11,"push_vec","","Add a `Vec` to the `MapBuilder`.",3,null],[11,"push_map","","Add a `Map` to the `VecBuilder`.",3,null],[11,"push_fn","","Add a function to the `VecBuilder`.",3,null],[11,"build","","",3,null],[0,"encoder","mustache","",null,null],[3,"Encoder","mustache::encoder","",null,null],[12,"data","","",4,null],[4,"Error","","",null,null],[13,"NestedOptions","","",5,null],[13,"UnsupportedType","","",5,null],[13,"InvalidStr","","",5,null],[13,"MissingElements","","",5,null],[13,"KeyIsNotString","","",5,null],[13,"NoFilename","","",5,null],[13,"IoError","","",5,null],[5,"encode","","",null,{"inputs":[{"name":"t"}],"output":{"name":"result"}}],[6,"EncoderResult","","",null,null],[11,"new","","",4,{"inputs":[],"output":{"name":"encoder"}}],[11,"fmt","","",5,null],[11,"from","","",5,{"inputs":[{"name":"stdioerror"}],"output":{"name":"error"}}],[11,"emit_nil","","",4,null],[11,"emit_isize","","",4,null],[11,"emit_usize","","",4,null],[11,"emit_u64","","",4,null],[11,"emit_u32","","",4,null],[11,"emit_u16","","",4,null],[11,"emit_u8","","",4,null],[11,"emit_i64","","",4,null],[11,"emit_i32","","",4,null],[11,"emit_i16","","",4,null],[11,"emit_i8","","",4,null],[11,"emit_bool","","",4,null],[11,"emit_f64","","",4,null],[11,"emit_f32","","",4,null],[11,"emit_char","","",4,null],[11,"emit_str","","",4,null],[11,"emit_enum","","",4,null],[11,"emit_enum_variant","","",4,null],[11,"emit_enum_variant_arg","","",4,null],[11,"emit_enum_struct_variant","","",4,null],[11,"emit_enum_struct_variant_field","","",4,null],[11,"emit_struct","","",4,null],[11,"emit_struct_field","","",4,null],[11,"emit_tuple","","",4,null],[11,"emit_tuple_arg","","",4,null],[11,"emit_tuple_struct","","",4,null],[11,"emit_tuple_struct_arg","","",4,null],[11,"emit_option","","",4,null],[11,"emit_option_none","","",4,null],[11,"emit_option_some","","",4,null],[11,"emit_seq","","",4,null],[11,"emit_seq_elt","","",4,null],[11,"emit_map","","",4,null],[11,"emit_map_elt_key","","",4,null],[11,"emit_map_elt_val","","",4,null],[11,"clone","mustache","",6,null],[11,"fmt","","",6,null],[11,"render","","Renders the template with the `Encodable` data.",6,null],[11,"render_data","","Renders the template with the `Data`.",6,null],[11,"eq","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"new","","Configures a mustache context the specified path to the templates.",0,{"inputs":[{"name":"pathbuf"}],"output":{"name":"context"}}],[11,"compile","","Compiles a template from a string",0,null],[11,"compile_path","","Compiles a template from a path.",0,null]],"paths":[[3,"Context"],[4,"Data"],[3,"MapBuilder"],[3,"VecBuilder"],[3,"Encoder"],[4,"Error"],[3,"Template"]]}; initSearch(searchIndex);