Struct genco::csharp::Interface [] [src]

pub struct Interface<'el> {
    pub modifiers: Vec<Modifier>,
    pub methods: Vec<Method<'el>>,
    pub body: Tokens<'el, Csharp<'el>>,
    pub extends: Vec<Csharp<'el>>,
    pub parameters: Tokens<'el, Csharp<'el>>,
    // some fields omitted
}

Model for Csharp Interfaces.

Fields

Interface modifiers.

Declared methods.

Extra body (added to end of interface).

What this interface extends.

Generic parameters.

Methods

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

[src]

Build a new empty interface.

[src]

Push an attribute.

[src]

Name of interface.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

[src]

Performs the conversion.

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

[src]

Convert the type into tokens.

Auto Trait Implementations

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

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