[−][src]Function glsp_engine::rdata
pub fn rdata<T: 'static>(rdata: T) -> Root<RData>ⓘ
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
.