pub unsafe trait IsImplementable<T>: IsInterface{
    // 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.

Object Safety§

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

source§

impl<T> IsImplementable<T> for AsyncInitable

source§

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

source§

impl<T> IsImplementable<T> for ListModel

source§

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

Implementors§