Struct yaml_subset::Document
source · pub struct Document { /* private fields */ }Implementations§
Trait Implementations§
source§impl PartialEq<Document> for Document
impl PartialEq<Document> for Document
source§impl YamlInsert for Document
impl YamlInsert for Document
fn edit_hash_structure<F>(&mut self, path: &YamlPath, f: &F) -> usizewhere
F: Fn(&mut Vec<HashData>, String, Option<usize>) -> usize,
fn for_hash<F, R>(&mut self, path: &YamlPath, f: &F, r: &R) -> usizewhere
F: Fn(&mut HashElement) -> usize,
R: Fn(&mut Yaml) -> usize,
source§fn insert_into_hash(
&mut self,
path: &YamlPath,
h: &AliasedYaml,
overwrite: bool
) -> usize
fn insert_into_hash(
&mut self,
path: &YamlPath,
h: &AliasedYaml,
overwrite: bool
) -> usize
Insert AliasedYaml into a hash
Returns the amount of insertions.
Can be more than 1 when using indexes or all array elements etc