1 2 3 4 5 6
use FuncTracked; use LibUnsafe; use std::sync::Arc; /// A pointer to a shared function which uses atomic ref-counting to avoid outliving its library. pub type FuncArc<T> = FuncTracked<T, Arc<LibUnsafe>>;
1 2 3 4 5 6
use FuncTracked; use LibUnsafe; use std::sync::Arc; /// A pointer to a shared function which uses atomic ref-counting to avoid outliving its library. pub type FuncArc<T> = FuncTracked<T, Arc<LibUnsafe>>;