Function unsafe_libyaml::yaml_document_add_mapping 
source · pub unsafe fn yaml_document_add_mapping(
    document: *mut yaml_document_t,
    tag: *const u8,
    style: yaml_mapping_style_t
) -> i32Expand description
Create a MAPPING node and attach it to the document.
The style argument may be ignored by the emitter.
Returns the node id or 0 on error.