[][src]Function glsp_engine::rroot

pub fn rroot<T: RStore>(rdata: T) -> GResult<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)?).