Function drone_core::thread::current [] [src]

pub fn current<T: Thread>() -> &'static T

Returns a static reference to the current thread.