[][src]Function glsp_engine::rroot

pub fn rroot<T: 'static>(rdata: T) -> RRoot<T>

Moves a Rust value onto the garbage-collected heap, returning a typed pointer.

This function is a shorthand for RRoot::<T>::new(glsp::rdata(rdata)).