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 strThe name of the method.
parameters: Vec<Parameter>The parameter list.
ret: Option<TypeName>The return type (if any).
is_static: boolWhether the method has a receiver.
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