pub struct ParseTreeNodeV0 {
pub kind: String,
pub byte_span: ParserByteSpanV0,
pub range: ParserRangeV0,
pub text: Option<String>,
pub bogus: Option<bool>,
pub error: Option<String>,
pub children: Vec<ParseTreeNodeV0>,
}Expand description
Recursive parse-tree node projected from the parse-tree contract IDL.
Fields§
§kind: String§byte_span: ParserByteSpanV0§range: ParserRangeV0§text: Option<String>§bogus: Option<bool>§error: Option<String>§children: Vec<ParseTreeNodeV0>Trait Implementations§
Source§impl Clone for ParseTreeNodeV0
impl Clone for ParseTreeNodeV0
Source§fn clone(&self) -> ParseTreeNodeV0
fn clone(&self) -> ParseTreeNodeV0
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParseTreeNodeV0
impl Debug for ParseTreeNodeV0
impl Eq for ParseTreeNodeV0
Source§impl PartialEq for ParseTreeNodeV0
impl PartialEq for ParseTreeNodeV0
Source§impl Serialize for ParseTreeNodeV0
impl Serialize for ParseTreeNodeV0
impl StructuralPartialEq for ParseTreeNodeV0
Auto Trait Implementations§
impl Freeze for ParseTreeNodeV0
impl RefUnwindSafe for ParseTreeNodeV0
impl Send for ParseTreeNodeV0
impl Sync for ParseTreeNodeV0
impl Unpin for ParseTreeNodeV0
impl UnsafeUnpin for ParseTreeNodeV0
impl UnwindSafe for ParseTreeNodeV0
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.