Trait tom::AstNode [−][src]
pub trait AstNode: Into<CstNode> + Clone + Copy { fn cast(cst: CstNode, doc: &TomlDoc) -> Option<Self>; fn cst(self) -> CstNode { ... } }
Required Methods
Provided Methods
Implementors
impl AstNode for Doc
impl AstNode for Table
impl AstNode for ArrayTable
impl AstNode for TableHeader
impl AstNode for Entry
impl AstNode for Key
impl AstNode for Value
impl AstNode for StringLit
impl AstNode for BareKey
impl AstNode for Array
impl AstNode for Dict
impl AstNode for Number
impl AstNode for Bool
impl AstNode for DateTime