[][src]Function glsp_engine::take_rglobal

pub fn take_rglobal<T: RGlobal>() -> GResult<T>

Unregisters and returns global data which was previously registered using glsp::add_rglobal.

Returns Err if no global is registered for the type T, or if a global exists but it's currently borrowed.