Struct genco::csharp::Method [] [src]

pub struct Method<'el> {
    pub modifiers: Vec<Modifier>,
    pub arguments: Vec<Argument<'el>>,
    pub body: Tokens<'el, Csharp<'el>>,
    pub returns: Csharp<'el>,
    pub parameters: Tokens<'el, Csharp<'el>>,
    pub comments: Vec<Cons<'el>>,
    // some fields omitted
}

Model for Csharp Methods.

Fields

Method modifiers.

Arguments for the constructor.

Body of the constructor.

Return type.

Generic parameters.

Comments associated with this method.

Methods

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

[src]

Build a new empty constructor.

[src]

Push a attribute.

[src]

Name of method.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<'el> Clone for Method<'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<Method<'el>> for Tokens<'el, Csharp<'el>>
[src]

[src]

Performs the conversion.

impl<'el> IntoTokens<'el, Csharp<'el>> for Method<'el>
[src]

[src]

Convert the type into tokens.

Auto Trait Implementations

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

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