Struct tom::ast::Doc [−][src]
pub struct Doc(_);
Methods
impl Doc
[src]
impl Doc
pub fn cast(node: CstNode, doc: &TomlDoc) -> Option<Doc>
[src]
pub fn cast(node: CstNode, doc: &TomlDoc) -> Option<Doc>
pub fn cst(self) -> CstNode
[src]
pub fn cst(self) -> CstNode
ⓘImportant traits for AstChildren<'a, A>pub fn tables(self, doc: &TomlDoc) -> AstChildren<Table>
[src]
ⓘImportant traits for AstChildren<'a, A>
pub fn tables(self, doc: &TomlDoc) -> AstChildren<Table>
ⓘImportant traits for AstChildren<'a, A>pub fn array_tables(self, doc: &TomlDoc) -> AstChildren<ArrayTable>
[src]
ⓘImportant traits for AstChildren<'a, A>
pub fn array_tables(self, doc: &TomlDoc) -> AstChildren<ArrayTable>
ⓘImportant traits for AstChildren<'a, A>pub fn entries(self, doc: &TomlDoc) -> AstChildren<Entry>
[src]
ⓘImportant traits for AstChildren<'a, A>
pub fn entries(self, doc: &TomlDoc) -> AstChildren<Entry>
Trait Implementations
impl Debug for Doc
[src]
impl Debug for Doc
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Doc
[src]
impl Clone for Doc
fn clone(&self) -> Doc
[src]
fn clone(&self) -> Doc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Doc
[src]
impl Copy for Doc
impl PartialEq for Doc
[src]
impl PartialEq for Doc
fn eq(&self, other: &Doc) -> bool
[src]
fn eq(&self, other: &Doc) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Doc) -> bool
[src]
fn ne(&self, other: &Doc) -> bool
This method tests for !=
.
impl Eq for Doc
[src]
impl Eq for Doc
impl AstNode for Doc
[src]
impl AstNode for Doc
fn cast(node: CstNode, doc: &TomlDoc) -> Option<Self> where
Self: Sized,
[src]
fn cast(node: CstNode, doc: &TomlDoc) -> Option<Self> where
Self: Sized,
fn cst(self) -> CstNode
[src]
fn cst(self) -> CstNode
impl From<Doc> for CstNode
[src]
impl From<Doc> for CstNode
impl EntryOwner for Doc
[src]
impl EntryOwner for Doc
ⓘImportant traits for AstChildren<'a, A>fn entries(self, doc: &TomlDoc) -> AstChildren<Entry>
[src]
ⓘImportant traits for AstChildren<'a, A>
fn entries(self, doc: &TomlDoc) -> AstChildren<Entry>
fn append_entry(self, doc: &mut TomlDoc, entry: Entry)
[src]
fn append_entry(self, doc: &mut TomlDoc, entry: Entry)