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
fn meta_object(&self) -> *const QMetaObject
fn meta_object(&self) -> *const QMetaObject
Returns a pointer to a meta object
fn static_meta_object() -> *const QMetaObject where
Self: Sized,
fn static_meta_object() -> *const QMetaObject where
Self: Sized,
Returns a pointer to a meta object