Struct genco::java::Interface [] [src]

pub struct Interface<'el> {
    pub modifiers: Vec<Modifier>,
    pub methods: Vec<Method<'el>>,
    pub body: Tokens<'el, Java<'el>>,
    pub extends: Vec<Tokens<'el, Java<'el>>>,
    // some fields omitted
}

Model for Java Interfaces.

Fields

Interface modifiers.

Declared methods.

Extra body (added to end of interface).

What this interface extends.

Methods

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

[src]

Build a new empty interface.

[src]

Push an annotation.

[src]

Name of interface.

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Convert the type into tokens.