pub struct YamlDocumentNode {
pub span: SourceSpan,
pub directives: Vec<String>,
pub explicit_start: bool,
pub explicit_end: bool,
pub value: YamlValueNode,
}Fields§
§span: SourceSpan§directives: Vec<String>§explicit_start: bool§explicit_end: bool§value: YamlValueNodeTrait Implementations§
Source§impl Clone for YamlDocumentNode
impl Clone for YamlDocumentNode
Source§fn clone(&self) -> YamlDocumentNode
fn clone(&self) -> YamlDocumentNode
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for YamlDocumentNode
impl RefUnwindSafe for YamlDocumentNode
impl Send for YamlDocumentNode
impl Sync for YamlDocumentNode
impl Unpin for YamlDocumentNode
impl UnsafeUnpin for YamlDocumentNode
impl UnwindSafe for YamlDocumentNode
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