Struct libyml::yaml::UnnamedYamlEventTData
source · #[repr(C)]pub struct UnnamedYamlEventTData {
pub stream_start: UnnamedYamlEventTdataStreamStart,
pub document_start: UnnamedYamlEventTdataDocumentStart,
pub document_end: UnnamedYamlEventTdataDocumentEnd,
pub alias: UnnamedYamlEventTdataAlias,
pub scalar: UnnamedYamlEventTdataScalar,
pub sequence_start: UnnamedYamlEventTdataSequenceStart,
pub mapping_start: UnnamedYamlEventTdataMappingStart,
}
Expand description
Represents the data associated with a YAML event.
Fields§
§stream_start: UnnamedYamlEventTdataStreamStart
The stream parameters (for YamlStreamStartEvent).
document_start: UnnamedYamlEventTdataDocumentStart
The document parameters (for YamlDocumentStartEvent).
document_end: UnnamedYamlEventTdataDocumentEnd
The document end parameters (for YamlDocumentEndEvent).
alias: UnnamedYamlEventTdataAlias
The alias parameters (for YamlAliasEvent).
scalar: UnnamedYamlEventTdataScalar
The scalar parameters (for YamlScalarEvent).
sequence_start: UnnamedYamlEventTdataSequenceStart
The sequence parameters (for YamlSequenceStartEvent).
mapping_start: UnnamedYamlEventTdataMappingStart
The mapping parameters (for YamlMappingStartEvent).
Trait Implementations§
source§impl Clone for UnnamedYamlEventTData
impl Clone for UnnamedYamlEventTData
source§fn clone(&self) -> UnnamedYamlEventTData
fn clone(&self) -> UnnamedYamlEventTData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnnamedYamlEventTData
impl Debug for UnnamedYamlEventTData
impl Copy for UnnamedYamlEventTData
Auto Trait Implementations§
impl Freeze for UnnamedYamlEventTData
impl RefUnwindSafe for UnnamedYamlEventTData
impl !Send for UnnamedYamlEventTData
impl !Sync for UnnamedYamlEventTData
impl Unpin for UnnamedYamlEventTData
impl UnwindSafe for UnnamedYamlEventTData
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)