Trait glib::subclass::interface::ObjectInterfaceType

source ·
pub unsafe trait ObjectInterfaceType {
    // Required method
    fn type_() -> Type;
}
Expand description

Type methods required for an ObjectInterface implementation.

This is usually generated by the #[object_interface] attribute macro.

Required Methods§

source

fn type_() -> Type

Returns the glib::Type ID of the interface.

This will register the type with the type system on the first call.

Object Safety§

This trait is not object safe.

Implementors§