var searchIndex = {}; searchIndex["serde_yaml"] = {"doc":"","items":[[4,"Yaml","serde_yaml","A YAML node is stored as this `Yaml` enumeration, which provides an easy way to\naccess your YAML document.",null,null],[13,"Real","","Float types are stored as String and parsed on demand.\nNote that f64 does NOT implement Eq trait and can NOT be stored in BTreeMap.",0,null],[13,"Integer","","YAML int is stored as i64.",0,null],[13,"String","","YAML scalar.",0,null],[13,"Boolean","","YAML bool, e.g. `true` or `false`.",0,null],[13,"Array","","YAML array, can be accessed as a `Vec`.",0,null],[13,"Hash","","YAML hash, can be accessed as a `BTreeMap`.",0,null],[13,"Alias","","Alias, not fully supported yet.",0,null],[13,"Null","","YAML null, e.g. `null` or `~`.",0,null],[13,"BadValue","","Accessing a nonexistent node via the Index trait returns `BadValue`. This\nsimplifies error handling in the calling code. Invalid type conversion also\nreturns `BadValue`.",0,null],[0,"de","","YAML Deserialization",null,null],[3,"Deserializer","serde_yaml::de","A structure for deserializing a YAML value into a Rust value.",null,null],[5,"from_str","","Decodes a YAML value from a `&str`.",null,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[5,"from_iter","","",null,{"inputs":[{"name":"i"}],"output":{"name":"result"}}],[5,"from_reader","","",null,{"inputs":[{"name":"r"}],"output":{"name":"result"}}],[5,"from_slice","","",null,null],[11,"new","","Creates the YAML deserializer from an in-memory `Yaml`.",1,{"inputs":[{"name":"yaml"}],"output":{"name":"self"}}],[11,"deserialize","","",1,null],[11,"deserialize_option","","Parses `null` as None and any other values as `Some(...)`.",1,null],[11,"deserialize_newtype_struct","","Parses a newtype struct as the underlying value.",1,null],[11,"deserialize_enum","","Parses an enum as a single key:value pair where the key identifies the\nvariant and the value gives the content.",1,null],[0,"ser","serde_yaml","YAML Serialization",null,null],[3,"Serializer","serde_yaml::ser","A structure for serializing a Rust value into a YAML value.",null,null],[5,"to_writer","","",null,{"inputs":[{"name":"w"},{"name":"t"}],"output":{"name":"result"}}],[5,"to_vec","","",null,{"inputs":[{"name":"t"}],"output":{"name":"result"}}],[5,"to_string","","",null,{"inputs":[{"name":"t"}],"output":{"name":"result"}}],[11,"new","","",2,{"inputs":[{"name":"yaml"}],"output":{"name":"self"}}],[11,"serialize_bool","","",2,null],[11,"serialize_i64","","",2,null],[11,"serialize_u64","","",2,null],[11,"serialize_f64","","",2,null],[11,"serialize_str","","",2,null],[11,"serialize_unit","","",2,null],[11,"serialize_none","","",2,null],[11,"serialize_some","","",2,null],[11,"serialize_seq","","",2,null],[11,"serialize_seq_elt","","",2,null],[11,"serialize_map","","",2,null],[11,"serialize_map_elt","","",2,null],[11,"serialize_unit_variant","","",2,null],[11,"serialize_newtype_struct","","Override `serialize_newtype_struct` to serialize newtypes without an object wrapper.",2,null],[11,"serialize_newtype_variant","","",2,null],[11,"serialize_tuple_variant","","",2,null],[11,"serialize_struct_variant","","",2,null],[0,"value","serde_yaml","",null,null],[4,"Value","serde_yaml::value","A YAML node is stored as this `Yaml` enumeration, which provides an easy way to\naccess your YAML document.",null,null],[13,"Real","","Float types are stored as String and parsed on demand.\nNote that f64 does NOT implement Eq trait and can NOT be stored in BTreeMap.",0,null],[13,"Integer","","YAML int is stored as i64.",0,null],[13,"String","","YAML scalar.",0,null],[13,"Boolean","","YAML bool, e.g. `true` or `false`.",0,null],[13,"Array","","YAML array, can be accessed as a `Vec`.",0,null],[13,"Hash","","YAML hash, can be accessed as a `BTreeMap`.",0,null],[13,"Alias","","Alias, not fully supported yet.",0,null],[13,"Null","","YAML null, e.g. `null` or `~`.",0,null],[13,"BadValue","","Accessing a nonexistent node via the Index trait returns `BadValue`. This\nsimplifies error handling in the calling code. Invalid type conversion also\nreturns `BadValue`.",0,null],[5,"to_value","","Shortcut function to encode a `T` into a YAML `Value`.",null,{"inputs":[{"name":"t"}],"output":{"name":"value"}}],[5,"from_value","","Shortcut function to decode a YAML `Value` into a `T`.",null,{"inputs":[{"name":"value"}],"output":{"name":"result"}}],[0,"error","serde_yaml","",null,null],[4,"Error","serde_yaml::error","This type represents all possible errors that can occur when serializing or\ndeserializing a value using YAML.",null,null],[13,"Custom","","",3,null],[13,"EndOfStream","","",3,null],[13,"Emit","","",3,null],[13,"Scan","","",3,null],[13,"Io","","",3,null],[13,"Utf8","","",3,null],[13,"FromUtf8","","",3,null],[13,"AliasUnsupported","","",3,null],[13,"TooManyDocuments","","",3,null],[13,"VariantMapWrongSize","","",3,null],[13,"VariantNotAMap","","",3,null],[6,"Result","","Helper alias for `Result` objects that return a YAML `Error`.",null,null],[11,"fmt","","",3,null],[11,"description","","",3,null],[11,"cause","","",3,null],[11,"fmt","","",3,null],[11,"from","","",3,{"inputs":[{"name":"emiterror"}],"output":{"name":"error"}}],[11,"from","","",3,{"inputs":[{"name":"scanerror"}],"output":{"name":"error"}}],[11,"from","","",3,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",3,{"inputs":[{"name":"utf8error"}],"output":{"name":"error"}}],[11,"from","","",3,{"inputs":[{"name":"fromutf8error"}],"output":{"name":"error"}}],[11,"custom","","",3,{"inputs":[{"name":"t"}],"output":{"name":"self"}}],[11,"custom","","",3,{"inputs":[{"name":"t"}],"output":{"name":"self"}}],[11,"end_of_stream","","",3,{"inputs":[],"output":{"name":"self"}}],[11,"as_bool","serde_yaml::value","",0,null],[11,"as_i64","","",0,null],[11,"as_str","","",0,null],[11,"as_hash","","",0,null],[11,"as_vec","","",0,null],[11,"is_null","","",0,null],[11,"is_badvalue","","",0,null],[11,"as_f64","","",0,null],[11,"from_str","","",0,{"inputs":[{"name":"str"}],"output":{"name":"yaml"}}],[11,"hash","","",0,null],[11,"cmp","","",0,null],[11,"fmt","","",0,null],[11,"partial_cmp","","",0,null],[11,"lt","","",0,null],[11,"le","","",0,null],[11,"gt","","",0,null],[11,"ge","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"clone","","",0,null],[11,"index","","",0,null],[11,"index","","",0,null]],"paths":[[4,"Value"],[3,"Deserializer"],[3,"Serializer"],[4,"Error"]]}; initSearch(searchIndex);