Skip to main content

YamlBreakT

Type Alias YamlBreakT 

Source
pub type YamlBreakT = yaml_break_t;
👎Deprecated since 0.0.6:

libyml is unmaintained. Migrate to a maintained alternative (unsafe-libyaml, yaml-rust2, or noyalib). See MIGRATION.md.

Expand description

Aliased Type§

#[repr(u32)]
pub enum YamlBreakT { YAML_ANY_BREAK = 0, YAML_CR_BREAK = 1, YAML_LN_BREAK = 2, YAML_CRLN_BREAK = 3, }

Variants§

§

YAML_ANY_BREAK = 0

Let the parser choose the break type.

§

YAML_CR_BREAK = 1

Use CR for line breaks (Mac style).

§

YAML_LN_BREAK = 2

Use LN for line breaks (Unix style).

§

YAML_CRLN_BREAK = 3

Use CR LN for line breaks (DOS style).