#[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.
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