Struct genco::java::Constructor[][src]

pub struct Constructor<'el> {
    pub modifiers: Vec<Modifier>,
    pub arguments: Vec<Argument<'el>>,
    pub body: Tokens<'el, Java<'el>>,
    pub throws: Option<Tokens<'el, Java<'el>>>,
    // some fields omitted
}

Model for Java Constructors.

Fields

Constructor modifiers.

Arguments for the constructor.

Body of the constructor.

Exception thrown by the constructor.

Methods

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

Build a new empty constructor.

Push an annotation.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

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

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