glib::subclass::types

Trait IsSubclassableExt

Source
pub trait IsSubclassableExt: IsClass + ParentClassIs {
    // Required methods
    fn parent_class_init<T: ObjectSubclass>(class: &mut Class<Self>)
       where Self::Parent: IsSubclassable<T>;
    fn parent_instance_init<T: ObjectSubclass>(
        instance: &mut InitializingObject<T>,
    )
       where Self::Parent: IsSubclassable<T>;
}

Required Methods§

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.

Implementors§