pub struct YamlAstRoot<'a> { /* private fields */ }Implementations§
Source§impl<'a> YamlAstRoot<'a>
impl<'a> YamlAstRoot<'a>
pub fn kind(&self) -> YamlAstRootKind
pub fn document_count(&self) -> usize
pub fn first_document_kind(&self) -> Option<YamlDocumentKind>
Trait Implementations§
Source§impl<'a> Clone for YamlAstRoot<'a>
impl<'a> Clone for YamlAstRoot<'a>
Source§fn clone(&self) -> YamlAstRoot<'a>
fn clone(&self) -> YamlAstRoot<'a>
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 moreSource§impl<'a> Debug for YamlAstRoot<'a>
impl<'a> Debug for YamlAstRoot<'a>
impl<'a> Copy for YamlAstRoot<'a>
Auto Trait Implementations§
impl<'a> Freeze for YamlAstRoot<'a>
impl<'a> !RefUnwindSafe for YamlAstRoot<'a>
impl<'a> !Send for YamlAstRoot<'a>
impl<'a> !Sync for YamlAstRoot<'a>
impl<'a> Unpin for YamlAstRoot<'a>
impl<'a> UnsafeUnpin for YamlAstRoot<'a>
impl<'a> !UnwindSafe for YamlAstRoot<'a>
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