Struct codeviz::rust::EnumSpec  
                   
                       [−]
                   
               [src]
pub struct EnumSpec {
    pub name: String,
    pub attributes: Elements,
    pub elements: Elements,
}Fields
name: String
                           
                           
                           attributes: Elements
                           
                           
                           elements: Elements
                           Methods
impl EnumSpec[src]
fn new(name: &str) -> EnumSpec
fn push_attribute<D>(&mut self, attribute: D) where
    D: Into<Element<Variable>>, 
D: Into<Element<Variable>>,
fn push<E>(&mut self, element: E) where
    E: Into<Element<Variable>>, 
E: Into<Element<Variable>>,
Trait Implementations
impl Debug for EnumSpec[src]
impl Clone for EnumSpec[src]
fn clone(&self) -> EnumSpec
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
impl Imports for EnumSpec[src]
fn imports<I>(&self, receiver: &mut I) where
    I: ImportReceiver, 
I: ImportReceiver,