Struct libyml::yaml::UnnamedYamlTokenTData
source · #[repr(C)]pub struct UnnamedYamlTokenTData {
pub stream_start: UnnamedYamlTokenTdataStreamStart,
pub alias: UnnamedYamlTokenTdataAlias,
pub anchor: UnnamedYamlTokenTdataAnchor,
pub tag: UnnamedYamlTokenTdataTag,
pub scalar: UnnamedYamlTokenTdataScalar,
pub version_directive: UnnamedYamlTokenTdataVersionDirective,
pub tag_directive: UnnamedYamlTokenTdataTagDirective,
}
Expand description
The data structure for YAML tokens.
Fields§
§stream_start: UnnamedYamlTokenTdataStreamStart
The stream start (for YamlStreamStartToken).
alias: UnnamedYamlTokenTdataAlias
The alias (for YamlAliasToken).
anchor: UnnamedYamlTokenTdataAnchor
The anchor (for YamlAnchorToken).
tag: UnnamedYamlTokenTdataTag
The tag (for YamlTagToken).
scalar: UnnamedYamlTokenTdataScalar
The scalar value (for YamlScalarToken).
version_directive: UnnamedYamlTokenTdataVersionDirective
The version directive (for YamlVersionDirectiveToken).
tag_directive: UnnamedYamlTokenTdataTagDirective
The tag directive (for YamlTagDirectiveToken).
Trait Implementations§
source§impl Clone for UnnamedYamlTokenTData
impl Clone for UnnamedYamlTokenTData
source§fn clone(&self) -> UnnamedYamlTokenTData
fn clone(&self) -> UnnamedYamlTokenTData
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 UnnamedYamlTokenTData
impl Debug for UnnamedYamlTokenTData
impl Copy for UnnamedYamlTokenTData
Auto Trait Implementations§
impl Freeze for UnnamedYamlTokenTData
impl RefUnwindSafe for UnnamedYamlTokenTData
impl !Send for UnnamedYamlTokenTData
impl !Sync for UnnamedYamlTokenTData
impl Unpin for UnnamedYamlTokenTData
impl UnwindSafe for UnnamedYamlTokenTData
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
)