Expand description
Low-level bindings for the LibYAML library.
Please see the LibYAML C API documentation for function descriptions.
Re-exports§
pub use self::yaml_encoding_e as yaml_encoding_t;pub use self::yaml_break_e as yaml_break_t;pub use self::yaml_error_type_e as yaml_error_type_t;pub use self::yaml_scalar_style_e as yaml_scalar_style_t;pub use self::yaml_sequence_style_e as yaml_sequence_style_t;pub use self::yaml_mapping_style_e as yaml_mapping_style_t;pub use self::yaml_token_type_e as yaml_token_type_t;pub use self::yaml_event_type_e as yaml_event_type_t;pub use self::yaml_node_type_e as yaml_node_type_t;pub use self::yaml_parser_state_e as yaml_parser_state_t;pub use self::yaml_emitter_state_e as yaml_emitter_state_t;
Structs§
- __
Bindgen Union Field - yaml_
alias_ data_ s - yaml_
anchors_ s - yaml_
document_ s - yaml_
document_ s__ bindgen_ ty_ 1 - yaml_
document_ s__ bindgen_ ty_ 2 - yaml_
emitter_ s - yaml_
emitter_ s__ bindgen_ ty_ 1 - yaml_
emitter_ s__ bindgen_ ty_ 2 - yaml_
emitter_ s__ bindgen_ ty_ 3 - yaml_
emitter_ s__ bindgen_ ty_ 4 - yaml_
emitter_ s__ bindgen_ ty_ 5 - yaml_
emitter_ s__ bindgen_ ty_ 6 - yaml_
emitter_ s__ bindgen_ ty_ 7 - yaml_
emitter_ s__ bindgen_ ty_ 8 - yaml_
emitter_ s__ bindgen_ ty_ 9 - yaml_
emitter_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - yaml_
emitter_ s__ bindgen_ ty_ 10 - yaml_
event_ s - yaml_
event_ s__ bindgen_ ty_ 1 - yaml_
event_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - yaml_
event_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - yaml_
event_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 3 - yaml_
event_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 4 - yaml_
event_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 5 - yaml_
event_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 6 - yaml_
event_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 7 - yaml_
event_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 2__ bindgen_ ty_ 1 - yaml_
mark_ s - yaml_
node_ pair_ s - yaml_
node_ s - yaml_
node_ s__ bindgen_ ty_ 1 - yaml_
node_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - yaml_
node_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - yaml_
node_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 3 - yaml_
node_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 2__ bindgen_ ty_ 1 - yaml_
node_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 3__ bindgen_ ty_ 1 - yaml_
parser_ s - yaml_
parser_ s__ bindgen_ ty_ 2 - yaml_
parser_ s__ bindgen_ ty_ 3 - yaml_
parser_ s__ bindgen_ ty_ 4 - yaml_
parser_ s__ bindgen_ ty_ 5 - yaml_
parser_ s__ bindgen_ ty_ 6 - yaml_
parser_ s__ bindgen_ ty_ 7 - yaml_
parser_ s__ bindgen_ ty_ 8 - yaml_
parser_ s__ bindgen_ ty_ 9 - yaml_
parser_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - yaml_
parser_ s__ bindgen_ ty_ 10 - yaml_
simple_ key_ s - yaml_
tag_ directive_ s - yaml_
token_ s - yaml_
token_ s__ bindgen_ ty_ 1 - yaml_
token_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - yaml_
token_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - yaml_
token_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 3 - yaml_
token_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 4 - yaml_
token_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 5 - yaml_
token_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 6 - yaml_
token_ s__ bindgen_ ty_ 1__ bindgen_ ty_ 7 - yaml_
version_ directive_ s
Constants§
- YAML_
ALIAS_ EVENT - YAML_
ALIAS_ TOKEN - YAML_
ANCHOR_ TOKEN - YAML_
ANY_ BREAK - YAML_
ANY_ ENCODING - YAML_
ANY_ MAPPING_ STYLE - YAML_
ANY_ SCALAR_ STYLE - YAML_
ANY_ SEQUENCE_ STYLE - YAML_
BLOCK_ END_ TOKEN - YAML_
BLOCK_ ENTRY_ TOKEN - YAML_
BLOCK_ MAPPING_ START_ TOKEN - YAML_
BLOCK_ MAPPING_ STYLE - YAML_
BLOCK_ SEQUENCE_ START_ TOKEN - YAML_
BLOCK_ SEQUENCE_ STYLE - YAML_
COMPOSER_ ERROR - YAML_
CRLN_ BREAK - YAML_
CR_ BREAK - YAML_
DOCUMENT_ END_ EVENT - YAML_
DOCUMENT_ END_ TOKEN - YAML_
DOCUMENT_ START_ EVENT - YAML_
DOCUMENT_ START_ TOKEN - YAML_
DOUBLE_ QUOTED_ SCALAR_ STYLE - YAML_
EMITTER_ ERROR - YAML_
EMIT_ BLOCK_ MAPPING_ FIRST_ KEY_ STATE - YAML_
EMIT_ BLOCK_ MAPPING_ KEY_ STATE - YAML_
EMIT_ BLOCK_ MAPPING_ SIMPLE_ VALUE_ STATE - YAML_
EMIT_ BLOCK_ MAPPING_ VALUE_ STATE - YAML_
EMIT_ BLOCK_ SEQUENCE_ FIRST_ ITEM_ STATE - YAML_
EMIT_ BLOCK_ SEQUENCE_ ITEM_ STATE - YAML_
EMIT_ DOCUMENT_ CONTENT_ STATE - YAML_
EMIT_ DOCUMENT_ END_ STATE - YAML_
EMIT_ DOCUMENT_ START_ STATE - YAML_
EMIT_ END_ STATE - YAML_
EMIT_ FIRST_ DOCUMENT_ START_ STATE - YAML_
EMIT_ FLOW_ MAPPING_ FIRST_ KEY_ STATE - YAML_
EMIT_ FLOW_ MAPPING_ KEY_ STATE - YAML_
EMIT_ FLOW_ MAPPING_ SIMPLE_ VALUE_ STATE - YAML_
EMIT_ FLOW_ MAPPING_ VALUE_ STATE - YAML_
EMIT_ FLOW_ SEQUENCE_ FIRST_ ITEM_ STATE - YAML_
EMIT_ FLOW_ SEQUENCE_ ITEM_ STATE - YAML_
EMIT_ STREAM_ START_ STATE - YAML_
FLOW_ ENTRY_ TOKEN - YAML_
FLOW_ MAPPING_ END_ TOKEN - YAML_
FLOW_ MAPPING_ START_ TOKEN - YAML_
FLOW_ MAPPING_ STYLE - YAML_
FLOW_ SEQUENCE_ END_ TOKEN - YAML_
FLOW_ SEQUENCE_ START_ TOKEN - YAML_
FLOW_ SEQUENCE_ STYLE - YAML_
FOLDED_ SCALAR_ STYLE - YAML_
KEY_ TOKEN - YAML_
LITERAL_ SCALAR_ STYLE - YAML_
LN_ BREAK - YAML_
MAPPING_ END_ EVENT - YAML_
MAPPING_ NODE - YAML_
MAPPING_ START_ EVENT - YAML_
MEMORY_ ERROR - YAML_
NO_ ERROR - YAML_
NO_ EVENT - YAML_
NO_ NODE - YAML_
NO_ TOKEN - YAML_
PARSER_ ERROR - YAML_
PARSE_ BLOCK_ MAPPING_ FIRST_ KEY_ STATE - YAML_
PARSE_ BLOCK_ MAPPING_ KEY_ STATE - YAML_
PARSE_ BLOCK_ MAPPING_ VALUE_ STATE - YAML_
PARSE_ BLOCK_ NODE_ OR_ INDENTLESS_ SEQUENCE_ STATE - YAML_
PARSE_ BLOCK_ NODE_ STATE - YAML_
PARSE_ BLOCK_ SEQUENCE_ ENTRY_ STATE - YAML_
PARSE_ BLOCK_ SEQUENCE_ FIRST_ ENTRY_ STATE - YAML_
PARSE_ DOCUMENT_ CONTENT_ STATE - YAML_
PARSE_ DOCUMENT_ END_ STATE - YAML_
PARSE_ DOCUMENT_ START_ STATE - YAML_
PARSE_ END_ STATE - YAML_
PARSE_ FLOW_ MAPPING_ EMPTY_ VALUE_ STATE - YAML_
PARSE_ FLOW_ MAPPING_ FIRST_ KEY_ STATE - YAML_
PARSE_ FLOW_ MAPPING_ KEY_ STATE - YAML_
PARSE_ FLOW_ MAPPING_ VALUE_ STATE - YAML_
PARSE_ FLOW_ NODE_ STATE - YAML_
PARSE_ FLOW_ SEQUENCE_ ENTRY_ MAPPING_ END_ STATE - YAML_
PARSE_ FLOW_ SEQUENCE_ ENTRY_ MAPPING_ KEY_ STATE - YAML_
PARSE_ FLOW_ SEQUENCE_ ENTRY_ MAPPING_ VALUE_ STATE - YAML_
PARSE_ FLOW_ SEQUENCE_ ENTRY_ STATE - YAML_
PARSE_ FLOW_ SEQUENCE_ FIRST_ ENTRY_ STATE - YAML_
PARSE_ IMPLICIT_ DOCUMENT_ START_ STATE - YAML_
PARSE_ INDENTLESS_ SEQUENCE_ ENTRY_ STATE - YAML_
PARSE_ STREAM_ START_ STATE - YAML_
PLAIN_ SCALAR_ STYLE - YAML_
READER_ ERROR - YAML_
SCALAR_ EVENT - YAML_
SCALAR_ NODE - YAML_
SCALAR_ TOKEN - YAML_
SCANNER_ ERROR - YAML_
SEQUENCE_ END_ EVENT - YAML_
SEQUENCE_ NODE - YAML_
SEQUENCE_ START_ EVENT - YAML_
SINGLE_ QUOTED_ SCALAR_ STYLE - YAML_
STREAM_ END_ EVENT - YAML_
STREAM_ END_ TOKEN - YAML_
STREAM_ START_ EVENT - YAML_
STREAM_ START_ TOKEN - YAML_
TAG_ DIRECTIVE_ TOKEN - YAML_
TAG_ TOKEN - YAML_
UTF8_ ENCODING - YAML_
UTF16BE_ ENCODING - YAML_
UTF16LE_ ENCODING - YAML_
VALUE_ TOKEN - YAML_
VERSION_ DIRECTIVE_ TOKEN - YAML_
WRITER_ ERROR
Functions§
- yaml_
alias_ ⚠event_ initialize - yaml_
document_ ⚠add_ mapping - yaml_
document_ ⚠add_ scalar - yaml_
document_ ⚠add_ sequence - yaml_
document_ ⚠append_ mapping_ pair - yaml_
document_ ⚠append_ sequence_ item - yaml_
document_ ⚠delete - yaml_
document_ ⚠end_ event_ initialize - yaml_
document_ ⚠get_ node - yaml_
document_ ⚠get_ root_ node - yaml_
document_ ⚠initialize - yaml_
document_ ⚠start_ event_ initialize - yaml_
emitter_ ⚠close - yaml_
emitter_ ⚠delete - yaml_
emitter_ ⚠dump - yaml_
emitter_ ⚠emit - yaml_
emitter_ ⚠flush - yaml_
emitter_ ⚠initialize - yaml_
emitter_ ⚠open - yaml_
emitter_ ⚠set_ break - yaml_
emitter_ ⚠set_ canonical - yaml_
emitter_ ⚠set_ encoding - yaml_
emitter_ ⚠set_ indent - yaml_
emitter_ ⚠set_ output - yaml_
emitter_ ⚠set_ output_ file - yaml_
emitter_ ⚠set_ output_ string - yaml_
emitter_ ⚠set_ unicode - yaml_
emitter_ ⚠set_ width - yaml_
event_ ⚠delete - yaml_
get_ ⚠version - yaml_
get_ ⚠version_ string - yaml_
mapping_ ⚠end_ event_ initialize - yaml_
mapping_ ⚠start_ event_ initialize - yaml_
parser_ ⚠delete - yaml_
parser_ ⚠initialize - yaml_
parser_ ⚠load - yaml_
parser_ ⚠parse - yaml_
parser_ ⚠scan - yaml_
parser_ ⚠set_ encoding - yaml_
parser_ ⚠set_ input - yaml_
parser_ ⚠set_ input_ file - yaml_
parser_ ⚠set_ input_ string - yaml_
scalar_ ⚠event_ initialize - yaml_
sequence_ ⚠end_ event_ initialize - yaml_
sequence_ ⚠start_ event_ initialize - yaml_
stream_ ⚠end_ event_ initialize - yaml_
stream_ ⚠start_ event_ initialize - yaml_
token_ ⚠delete
Type Aliases§
- yaml_
alias_ data_ t - yaml_
anchors_ t - yaml_
break_ e - yaml_
char_ t - yaml_
document_ t - yaml_
emitter_ state_ e - yaml_
emitter_ t - yaml_
encoding_ e - yaml_
error_ type_ e - yaml_
event_ t - yaml_
event_ type_ e - yaml_
mapping_ style_ e - yaml_
mark_ t - yaml_
node_ item_ t - yaml_
node_ pair_ t - yaml_
node_ t - yaml_
node_ type_ e - yaml_
parser_ state_ e - yaml_
parser_ t - yaml_
read_ handler_ t - yaml_
scalar_ style_ e - yaml_
sequence_ style_ e - yaml_
simple_ key_ t - yaml_
tag_ directive_ t - yaml_
token_ t - yaml_
token_ type_ e - yaml_
version_ directive_ t - yaml_
write_ handler_ t