[−][src]Trait taplo::dom::Cast
Casting allows constructing DOM nodes from syntax nodes.
Casting allows constructing DOM nodes from syntax nodes.
fn cast(element: SyntaxElement) -> Option<Self>
impl Cast for Node
[src]fn cast(element: SyntaxElement) -> Option<Self>
[src]impl Cast for ValueNode
[src]fn cast(element: SyntaxElement) -> Option<Self>
[src]impl Cast for ArrayNode
[src]fn cast(syntax: SyntaxElement) -> Option<Self>
[src]impl Cast for BoolNode
[src]fn cast(elem: SyntaxElement) -> Option<Self>
[src]impl Cast for DateNode
[src]fn cast(elem: SyntaxElement) -> Option<Self>
[src]impl Cast for EntryNode
[src]fn cast(element: SyntaxElement) -> Option<Self>
[src]impl Cast for FloatNode
[src]fn cast(elem: SyntaxElement) -> Option<Self>
[src]impl Cast for IntegerNode
[src]fn cast(element: SyntaxElement) -> Option<Self>
[src]impl Cast for KeyNode
[src]fn cast(element: SyntaxElement) -> Option<Self>
[src]impl Cast for RootNode
[src]fn cast(syntax: SyntaxElement) -> Option<Self>
[src]impl Cast for StringNode
[src]fn cast(element: SyntaxElement) -> Option<Self>
[src]impl Cast for TableNode
[src]fn cast(syntax: SyntaxElement) -> Option<Self>
[src]