Trait glib::subclass::boxed::BoxedType

source ·
pub trait BoxedType: StaticType + Clone + Sized + 'static {
    const NAME: &'static str;
}
Expand description

Trait for defining boxed types.

Links together the type name with the type itself.

See register_boxed_type for registering an implementation of this trait with the type system.

Required Associated Constants§

source

const NAME: &'static str

Boxed type name.

This must be unique in the whole process.

Object Safety§

This trait is not object safe.

Implementors§