[][src]Trait glsp::RStore

pub trait RStore: 'static + GStore {
    fn type_name() -> &'static str;
fn size_of() -> usize;
fn rclass() -> Result<RClass, GError>; }

A type which can be moved onto the garbage-collected heap as an RData.

It's possible to implement this trait manually, but using the rdata! macro is strongly encouraged. Among other things, that macro will automatically implement MakeArg and IntoResult for your type.

Required methods

fn type_name() -> &'static str

fn size_of() -> usize

fn rclass() -> Result<RClass, GError>

Loading content...


Loading content...