Struct genco::csharp::Constructor [] [src]

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

Model for Csharp Constructors.

Fields

Constructor modifiers.

Arguments for the constructor.

Body of the constructor.

Base call

Methods

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

[src]

Build a new empty constructor.

[src]

Push a attribute.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

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

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