pub unsafe trait IsImplementable<T>: IsInterface
where 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§

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.

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§

§

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

§

fn interface_init(iface: &mut Interface<ActionGroup>)

§

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

§

fn interface_init(iface: &mut Interface<ActionMap>)

§

impl<T> IsImplementable<T> for AsyncInitable

§

fn interface_init(iface: &mut Interface<AsyncInitable>)

§

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

§

fn interface_init(iface: &mut Interface<Initable>)

§

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

§

fn interface_init(iface: &mut Interface<ListModel>)

§

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

§

fn interface_init(iface: &mut Interface<Seekable>)

Implementors§