Struct codespawn::raw_code::CodeItem
[−]
[src]
pub struct CodeItem { pub name: String, pub attributes: Vec<(String, String)>, pub children: Vec<CodeItem>, }
Representation of a single code element.
Fields
name: String
Name of the element.
attributes: Vec<(String, String)>
List of element's attributes and properties.
children: Vec<CodeItem>
List of child elements.
Trait Implementations
impl Clone for CodeItem
[src]
fn clone(&self) -> CodeItem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more