Skip to main content

Provider

Type Alias Provider 

Source
pub type Provider = fn(name: &CStr) -> Option<*const ()>;
Expand description

Returns the address of the function a library exports as name, or None if it has none.

The address must be a function with the signature the library’s header declares for name.