Struct plugger_types::Method [] [src]

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

Fields

object_pointer: usize

A pointer to the base object.

method_pointer: *mut fn()

A pointer to the function.

name: &'static str

The name of the method.

parameters: Vec<Parameter>

The parameter list.

ret: Option<TypeName>

The return type (if any).

Methods

impl Method
[src]

fn is_static(&self) -> bool

Checks if the function is static.

Trait Implementations

impl Clone for Method
[src]

fn clone(&self) -> Method

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more