[][src]Function glsp::rdata

pub fn rdata<T>(rdata: T) -> Root<RData>

Notable traits for Root<GIter>

impl Iterator for Root<GIter> type Item = Result<Val, GError>;
    T: 'static, 

Moves a Rust value onto the garbage-collected heap.

By default, this produces an opaque rdata which can't be manipulated by GameLisp code. To configure a Rust type so that its rdata can be accessed from GameLisp, use RClassBuilder.