Trait libadwaita::subclass::prelude::IsImplementable
source · [−]pub unsafe trait IsImplementable<T>: IsInterface where
T: ObjectSubclass,
Self::GlibClassType: Copy, {
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>)
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>)
fn instance_init(_instance: &mut InitializingObject<T>)
Instance specific initialization.
This is automatically called during instance initialization.