pub trait BuildableImpl: ObjectImpl + ObjectSubclass<Type: IsA<Buildable>> {
// Provided methods
fn set_id(&self, id: &str) { ... }
fn id(&self) -> Option<GString> { ... }
fn add_child(&self, builder: &Builder, child: &Object, type_: Option<&str>) { ... }
fn set_buildable_property(
&self,
builder: &Builder,
name: &str,
value: &Value,
) { ... }
fn parser_finished(&self, builder: &Builder) { ... }
fn internal_child(&self, builder: &Builder, name: &str) -> Option<Object> { ... }
fn construct_child(&self, builder: &Builder, name: &str) -> Object { ... }
}
Provided Methods§
fn set_id(&self, id: &str)
fn id(&self) -> Option<GString>
fn add_child(&self, builder: &Builder, child: &Object, type_: Option<&str>)
fn set_buildable_property(&self, builder: &Builder, name: &str, value: &Value)
fn parser_finished(&self, builder: &Builder)
fn internal_child(&self, builder: &Builder, name: &str) -> Option<Object>
fn construct_child(&self, builder: &Builder, name: &str) -> Object
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.