Struct sharedlib::FuncTracked
[−]
[src]
pub struct FuncTracked<T, TLib> { // some fields omitted }
A pointer to a shared function which allows a user-provided ref-counting implementation to avoid outliving its library.
Methods
impl<T, TLib> FuncTracked<T, TLib>
[src]
fn new(func: FuncUnsafe<T>, lib: TLib) -> Self
Creates a new FuncTracked. This should only be called within the library.
Trait Implementations
impl<T, TLib> Symbol<T> for FuncTracked<T, TLib> where T: Copy
[src]
impl<T, TLib> Clone for FuncTracked<T, TLib> where T: Copy, TLib: Clone
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more