Struct rincon_client::aql::types::ParsedAstNode
[−]
[src]
pub struct ParsedAstNode { /* fields omitted */ }
Methods
impl ParsedAstNode
[src]
pub fn new<K, N, I, V, S>(
kind: K,
name: N,
id: I,
value: V,
sub_nodes: S
) -> Self where
K: Into<String>,
N: Into<Option<String>>,
I: Into<Option<AstNodeId>>,
V: Into<Option<JsonValue>>,
S: IntoIterator<Item = ParsedAstNode>,
[src]
kind: K,
name: N,
id: I,
value: V,
sub_nodes: S
) -> Self where
K: Into<String>,
N: Into<Option<String>>,
I: Into<Option<AstNodeId>>,
V: Into<Option<JsonValue>>,
S: IntoIterator<Item = ParsedAstNode>,
pub fn kind(&self) -> &str
[src]
pub fn name(&self) -> Option<&String>
[src]
pub fn id(&self) -> Option<&AstNodeId>
[src]
pub fn value(&self) -> Option<&JsonValue>
[src]
pub fn sub_nodes(&self) -> &[ParsedAstNode]
[src]
Trait Implementations
impl Debug for ParsedAstNode
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ParsedAstNode
[src]
fn clone(&self) -> ParsedAstNode
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ParsedAstNode
[src]
fn eq(&self, __arg_0: &ParsedAstNode) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParsedAstNode) -> bool
[src]
This method tests for !=
.