Trait neon::js::class::Class [] [src]

pub trait Class: Managed + Any {
    type Internals;
    fn setup<'a, T: Scope<'a>>(_: &mut T) -> VmResult<ClassDescriptor<'a, Self>>;

    fn class<'a, T: Scope<'a>>(scope: &mut T) -> JsResult<'a, JsClass<Self>> { ... }
fn describe<'a>(
        name: &'a str,
        allocate: AllocateKernel<Self>
    ) -> ClassDescriptor<'a, Self> { ... } }

Associated Types

Required Methods

Provided Methods

Implementors