gdk_pixbuf::subclass::prelude

Trait IsImplementable

Source
pub unsafe trait IsImplementable<T>: IsInterface
where T: ObjectSubclass,
{ // Provided methods fn interface_init(_iface: &mut Interface<Self>) { ... } fn instance_init(_instance: &mut InitializingObject<T>) { ... } }
Expand description

Trait for implementable interfaces.

Provided Methods§

Source

fn interface_init(_iface: &mut Interface<Self>)

Override the virtual methods of this interface for the given subclass and do other interface initialization.

This is automatically called during type initialization.

Source

fn instance_init(_instance: &mut InitializingObject<T>)

Instance specific initialization.

This is automatically called during instance initialization.

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.

Implementations on Foreign Types§

Source§

impl<T> IsImplementable<T> for ActionGroup
where T: ActionGroupImpl,

Source§

impl<T> IsImplementable<T> for ActionMap
where T: ActionMapImpl,

Source§

impl<T> IsImplementable<T> for AsyncInitable

Source§

impl<T> IsImplementable<T> for Initable
where T: InitableImpl,

Source§

impl<T> IsImplementable<T> for ListModel
where T: ListModelImpl,

Source§

impl<T> IsImplementable<T> for Seekable
where T: SeekableImpl,

Implementors§