Enum xswag_syntax_java::ast::item::Item [] [src]

pub enum Item {
    Import(Import),
    Class(Box<Class>),
    Method(Box<Method>),
    Constant(()),
}

Variants

Import(Import)Class(Box<Class>)Method(Box<Method>)Constant(())

Trait Implementations

impl Clone for Item
[src]

fn clone(&self) -> Item

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 Debug for Item
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.