Struct libyml::yaml::UnnamedYamlEventTdataDocumentStart
source · #[non_exhaustive]#[repr(C)]pub struct UnnamedYamlEventTdataDocumentStart {
pub version_directive: *mut YamlVersionDirectiveT,
pub tag_directives: UnnamedYamlEventTdataDocumentStartTagDirectives,
pub implicit: bool,
}
Expand description
Represents the data associated with the start of a YAML document.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.version_directive: *mut YamlVersionDirectiveT
The version directive.
tag_directives: UnnamedYamlEventTdataDocumentStartTagDirectives
The list of tag directives.
implicit: bool
Is the document indicator implicit?
Trait Implementations§
source§impl Clone for UnnamedYamlEventTdataDocumentStart
impl Clone for UnnamedYamlEventTdataDocumentStart
source§fn clone(&self) -> UnnamedYamlEventTdataDocumentStart
fn clone(&self) -> UnnamedYamlEventTdataDocumentStart
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 moreimpl Copy for UnnamedYamlEventTdataDocumentStart
Auto Trait Implementations§
impl Freeze for UnnamedYamlEventTdataDocumentStart
impl RefUnwindSafe for UnnamedYamlEventTdataDocumentStart
impl !Send for UnnamedYamlEventTdataDocumentStart
impl !Sync for UnnamedYamlEventTdataDocumentStart
impl Unpin for UnnamedYamlEventTdataDocumentStart
impl UnwindSafe for UnnamedYamlEventTdataDocumentStart
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
)