#[repr(C)]pub struct YEvent {
pub tag: i8,
pub content: YEventContent,
}
Fields§
§tag: i8
Tag describing, which shared type emitted this event.
- Y_TEXT for pointers to
YText
data types. - Y_ARRAY for pointers to
YArray
data types. - Y_MAP for pointers to
YMap
data types. - Y_XML_ELEM for pointers to
YXmlElement
data types. - Y_XML_TEXT for pointers to
YXmlText
data types.
content: YEventContent
A nested event type, specific for a shared data type that triggered it. Type of an
event can be verified using tag
field.
Auto Trait Implementations§
impl Freeze for YEvent
impl !RefUnwindSafe for YEvent
impl !Send for YEvent
impl !Sync for YEvent
impl Unpin for YEvent
impl !UnwindSafe for YEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more