Trait libpanel::subclass::prelude::CompositeTemplateClass

source ·
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§

source

fn bind_template(&mut self)

Binds the template callbacks from this type into the default template scope for self.

Implementors§

source§

impl<T, U> CompositeTemplateClass for T
where T: ClassStruct<Type = U>, U: ObjectSubclass<Class = T> + CompositeTemplate,