Struct plugger_core::Method [] [src]

pub struct Method {
    pub method_pointer: *mut fn(),
    pub lang_marshalls: Vec<(&'static str, *mut fn())>,
    pub name: &'static str,
    pub parameters: Vec<Parameter>,
    pub ret: Option<TypeName>,
    pub is_static: bool,
}

Fields

A pointer to the function.

Marshall functions for every supported language.

The name of the method.

The parameter list.

The return type (if any).

Whether the method has a receiver.

Methods

impl Method
[src]

[src]

Gets the marshall for a language.

Trait Implementations

impl Clone for Method
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more