Skip to main content

method_from_ptr

Function method_from_ptr 

Source
pub fn method_from_ptr(method_ptr: *mut c_void) -> Option<Method>
Expand description

Creates a Method struct from a raw pointer

§Arguments

  • method_ptr - Pointer to the MethodInfo

§Returns

  • Option<Method> - The hydrated Method struct