Trait libhelium::subclass::prelude::BuilderScopeImpl

pub trait BuilderScopeImpl: ObjectImpl {
    // Required method
    fn create_closure(
        &self,
        builder: &Builder,
        function_name: &str,
        flags: BuilderClosureFlags,
        object: Option<&Object>,
    ) -> Result<Closure, Error>;

    // Provided methods
    fn type_from_name(&self, builder: &Builder, type_name: &str) -> Type { ... }
    fn type_from_function(&self, builder: &Builder, function_name: &str) -> Type { ... }
}

Required Methods§

fn create_closure( &self, builder: &Builder, function_name: &str, flags: BuilderClosureFlags, object: Option<&Object>, ) -> Result<Closure, Error>

Provided Methods§

fn type_from_name(&self, builder: &Builder, type_name: &str) -> Type

fn type_from_function(&self, builder: &Builder, function_name: &str) -> Type

Object Safety§

This trait is not object safe.

Implementors§