pub unsafe trait IsImplementable<T>: IsInterfacewhere
    T: ObjectSubclass,
    Self::GlibClassType: Copy,{
    // 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.

Implementations on Foreign Types§

source§

impl<T> IsImplementable<T> for ActionGroupwhere T: ActionGroupImpl,

source§

impl<T> IsImplementable<T> for AsyncInitablewhere T: AsyncInitableImpl,

source§

impl<T> IsImplementable<T> for Initablewhere T: InitableImpl,

source§

impl<T> IsImplementable<T> for ActionMapwhere T: ActionMapImpl, <T as ObjectSubclass>::Type: IsA<Object>,

source§

impl<T> IsImplementable<T> for Seekablewhere T: SeekableImpl,

source§

impl<T> IsImplementable<T> for ListModelwhere T: ListModelImpl, <T as ObjectSubclass>::Type: IsA<Object>,

Implementors§