pub unsafe fn yaml_emitter_set_canonical(
emitter: *mut YamlEmitterT,
canonical: bool,
)Expand description
Set if the output should be in the “canonical” format as in the YAML specification.
This function sets whether the emitter should produce output in the canonical format, as defined by the YAML specification.
§Safety
emittermust be a valid, non-null pointer to a properly initializedYamlEmitterTstruct.- The
YamlEmitterTstruct and its associated data structures must be properly aligned and have the expected memory layout.