Skip to main content

CompositeTemplateCallbacksClass

Trait CompositeTemplateCallbacksClass 

Source
pub trait CompositeTemplateCallbacksClass {
    // Required method
    fn bind_template_callbacks(&mut self);
}
Expand description

An extension trait for ClassStruct types to allow binding private template callbacks directly on self. This is a convenience wrapper around the CompositeTemplateCallbacks trait.

Required Methods§

Source

fn bind_template_callbacks(&mut self)

Binds the template callbacks from the subclass 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".

Implementors§