Trait qmetaobject::QGadget[][src]

pub trait QGadget {
    fn meta_object(&self) -> *const QMetaObject;
fn static_meta_object() -> *const QMetaObject
    where
        Self: Sized
; }
Expand description

Trait that is implemented by the QGadget custom derive macro

Do not implement this trait yourself, use #[derive(QGadget)].

Required methods

Returns a pointer to a meta object

Returns a pointer to a meta object

Implementors