Struct sharedlib::FuncTracked [] [src]

pub struct FuncTracked<T, TLib> { /* 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]

Creates a new FuncTracked. This should only be called within the library.

Trait Implementations

impl<T: Debug, TLib: Debug> Debug for FuncTracked<T, TLib>
[src]

Formats the value using the given formatter.

impl<T, TLib> Symbol<T> for FuncTracked<T, TLib> where
    T: Copy
[src]

Provides access to the data that this symbol references. Read more

impl<T, TLib> Clone for FuncTracked<T, TLib> where
    T: Copy,
    TLib: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more