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§
§method_pointer: *mut fn()
A pointer to the function.
lang_marshalls: Vec<(&'static str, *mut fn())>
Marshall functions for every supported language.
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.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl !Send for Method
impl !Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more