Function Module_method_names

Source
pub unsafe fn Module_method_names(
    self_: Pin<&mut Module>,
    method_names_out: &mut Vec<String>,
) -> Error
Available on crate features module and std only.
Expand description

Get a list of method names available in the loaded program.

Loads the program and method if needed.

§Arguments

  • method_names_out: A mutable reference to a vector that will be filled with the method names.

§Returns

A error indicating whether the method names retrieval was successful or not.

§Safety

The method_names_out vector must be valid for the lifetime of the function. The method_names_out vector can be used only if the function returns Error::Ok.