use crateScope;
use LocalKey;
/// Execute a function scoped with given value reference.
///
/// See [`thread_scoped_ref`] for an example.
///
/// [`thread_scoped_ref`]: macro.thread_scoped_ref.html
/// Gets the reference to value from the current scope. Given function will receive
/// `None` if this is not called within a scope.
///
/// See [`thread_scoped_ref`] for an example.
///
/// [`thread_scoped_ref`]: macro.thread_scoped_ref.html