pub trait CompositeTemplateClass {
// Required method
fn bind_template(&mut self);
}Expand description
An extension trait for ClassStruct
types to allow binding a composite template directly on self. This is a
convenience wrapper around the CompositeTemplate trait.
Required Methods§
Sourcefn bind_template(&mut self)
fn bind_template(&mut self)
Binds the template callbacks from this type into the default template
scope for self.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".