Function libyml::document::yaml_document_end_event_initialize

source ·
pub unsafe fn yaml_document_end_event_initialize(
    event: *mut YamlEventT,
    implicit: bool,
) -> Success
Expand description

Create the DOCUMENT-END event.

The implicit argument is considered as a stylistic parameter and may be ignored by the emitter.

§Safety

  • event must be a valid, non-null pointer to a YamlEventT struct that can be safely written to.
  • The YamlEventT struct must be properly aligned and have the expected memory layout.