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

pub enum TypeDef {
    NormalClass(Class),
    NormalInterface(Interface),
}

Represents a Java type

Variants

NormalClass(Class)

A Java class, defined with class

NormalInterface(Interface)

A Java interface, defined with interface

Trait Implementations

impl Clone for TypeDef
[src]

fn clone(&self) -> TypeDef

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 TypeDef
[src]

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

Formats the value using the given formatter.

impl ItemExt for TypeDef
[src]

fn ident(&self) -> Option<&Ident>

identifier of the item, if any

fn vis(&self) -> Visibility

fn static_(&self) -> Option<bool>