#[repr(C)]pub struct YEvent {
pub tag: i8,
pub content: YEventContent,
}Fields§
§tag: i8Tag describing, which shared type emitted this event.
- Y_TEXT for pointers to
YTextdata types. - Y_ARRAY for pointers to
YArraydata types. - Y_MAP for pointers to
YMapdata types. - Y_XML_ELEM for pointers to
YXmlElementdata types. - Y_XML_TEXT for pointers to
YXmlTextdata types.
content: YEventContentA nested event type, specific for a shared data type that triggered it. Type of an
event can be verified using tag field.