Struct sharedlib::Func
[−]
[src]
pub struct Func<'a, T> { // some fields omitted }
A pointer to a shared function which uses a bound lifetime to avoid outliving its library.
Methods
impl<'a, T> Func<'a, T>
[src]
fn new(func: FuncUnsafe<T>) -> Self
Creates a new Func. This should only be called within the library.