pub trait BuilderScopeImpl: ObjectImpl + ObjectSubclass<Type: IsA<BuilderScope>> {
// 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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.