gdk_pixbuf::subclass::prelude

Trait IsSubclassableExt

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

Required Methods§

Source

fn parent_class_init<T>(class: &mut Class<Self>)
where T: ObjectSubclass, Self::Parent: IsSubclassable<T>,

Source

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)
where T: ObjectSubclass, Self::Parent: IsSubclassable<T>,

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§