Trait libbismuth::subclass::prelude::IsImplementable

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§

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 Actionable
where T: ActionableImpl,

§

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

§

impl<T> IsImplementable<T> for AsyncInitable

§

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

§

impl<T> IsImplementable<T> for Buildable
where T: BuildableImpl,

§

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

§

impl<T> IsImplementable<T> for BuilderScope
where T: BuilderScopeImpl,

§

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

§

impl<T> IsImplementable<T> for CellEditable
where T: CellEditableImpl,

§

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

§

impl<T> IsImplementable<T> for CellLayout
where T: CellLayoutImpl,

§

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

§

impl<T> IsImplementable<T> for ColorChooser
where T: ColorChooserImpl,

§

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

§

impl<T> IsImplementable<T> for Editable
where T: EditableImpl + ObjectSubclass,

§

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

§

impl<T> IsImplementable<T> for FontChooser
where T: FontChooserImpl,

§

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

§

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 Orientable
where T: OrientableImpl,

§

impl<T> IsImplementable<T> for Paintable
where T: PaintableImpl,

§

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

§

impl<T> IsImplementable<T> for PrintOperationPreview
where T: PrintOperationPreviewImpl,

§

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

§

impl<T> IsImplementable<T> for Scrollable
where T: ScrollableImpl,

§

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

§

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

§

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

§

impl<T> IsImplementable<T> for SelectionModel
where T: SelectionModelImpl,

§

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

§

impl<T> IsImplementable<T> for ShortcutManager
where T: ShortcutManagerImpl,

§

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

§

impl<T> IsImplementable<T> for TreeDragDest
where T: TreeDragDestImpl,

§

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

§

impl<T> IsImplementable<T> for TreeDragSource
where T: TreeDragSourceImpl,

§

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

Implementors§

§

impl<T> IsImplementable<T> for TypePlugin
where T: TypePluginImpl,