Function libyml::api::yaml_emitter_set_indent

source ·
pub unsafe fn yaml_emitter_set_indent(emitter: *mut YamlEmitterT, indent: i32)
Expand description

Set the indentation increment.

This function sets the indentation increment to be used by the emitter when emitting indented content.

§Safety

  • emitter must be a valid, non-null pointer to a properly initialized YamlEmitterT struct.
  • The YamlEmitterT struct and its associated data structures must be properly aligned and have the expected memory layout.