pub struct YamlEvent {
pub kind: YamlEventKind,
pub span: Span,
/* private fields */
}Expand description
Semantic YAML event produced by the parser.
Fields§
§kind: YamlEventKindEvent classification.
span: SpanSource span associated with this event.
Trait Implementations§
impl Eq for YamlEvent
impl StructuralPartialEq for YamlEvent
Auto Trait Implementations§
impl Freeze for YamlEvent
impl RefUnwindSafe for YamlEvent
impl Send for YamlEvent
impl Sync for YamlEvent
impl Unpin for YamlEvent
impl UnsafeUnpin for YamlEvent
impl UnwindSafe for YamlEvent
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