[][src]Function glsp::rroot

pub fn rroot<T>(rdata: T) -> Result<RRoot<T>, GError> where
    T: RStore

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)?).