[−][src]Function glsp::take_rglobal
pub fn take_rglobal<T>() -> Result<T, GError> where
T: RGlobal,
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.