Struct sharedlib::Func
[−]
[src]
pub struct Func<'a, T> { /* 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.
Trait Implementations
impl<'a, T> Symbol<T> for Func<'a, T> where
T: Copy,
[src]
T: Copy,