Struct genco::java::Class [] [src]

pub struct Class<'el> {
    pub modifiers: Vec<Modifier>,
    pub fields: Vec<Field<'el>>,
    pub constructors: Vec<Constructor<'el>>,
    pub methods: Vec<Method<'el>>,
    pub body: Tokens<'el, Java<'el>>,
    pub extends: Option<Java<'el>>,
    pub implements: Vec<Java<'el>>,
    pub parameters: Tokens<'el, Java<'el>>,
    // some fields omitted
}

Model for Java Classs.

Fields

Class modifiers.

Declared methods.

Declared methods.

Declared methods.

Extra body (at the end of the class).

What this class extends.

What this class implements.

Generic parameters.

Methods

impl<'el> Class<'el>
[src]

[src]

Build a new empty interface.

[src]

Push an annotation.

[src]

Name of class.

Trait Implementations

impl<'el> Debug for Class<'el>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'el> Clone for Class<'el>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'el> From<Class<'el>> for Tokens<'el, Java<'el>>
[src]

[src]

Performs the conversion.

impl<'el> IntoTokens<'el, Java<'el>> for Class<'el>
[src]

[src]

Convert the type into tokens.

Auto Trait Implementations

impl<'el> !Send for Class<'el>

impl<'el> !Sync for Class<'el>