Struct genco::java::Field [] [src]

pub struct Field<'el> {
    pub annotations: Tokens<'el, Java<'el>>,
    pub modifiers: Vec<Modifier>,
    // some fields omitted
}

Model for Java Fields.

Fields

Annotations of field.

Modifiers of field.

Methods

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

[src]

Create a new field.

[src]

Push an annotation.

[src]

Set initializer for field.

[src]

The variable of the field.

[src]

The type of the field.

Trait Implementations

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

[src]

Formats the value using the given formatter.

impl<'el> Clone for Field<'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 Field<'el>
[src]

[src]

Convert the type into tokens.