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

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

Model for Java Fields.

Fields

Annotations of field.

Modifiers of field.

Comments associated with this 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. Read more

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> From<Field<'el>> for Tokens<'el, Java<'el>>
[src]

[src]

Performs the conversion.

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

[src]

Convert the type into tokens.

impl<'el> From<Field<'el>> for Element<'el, Java<'el>>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

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

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