Struct plugger_types::Method
[−]
[src]
pub struct Method { pub method_pointer: *mut fn(), pub name: &'static str, pub parameters: Vec<Parameter>, pub ret: Option<TypeName>, pub is_static: bool, }
Fields
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).
is_static: bool
Whether the method has a receiver.
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