Trait qmetaobject::QGadget
source · pub trait QGadget {
// Required methods
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§
sourcefn meta_object(&self) -> *const QMetaObject
fn meta_object(&self) -> *const QMetaObject
Returns a pointer to a meta object
sourcefn static_meta_object() -> *const QMetaObjectwhere
Self: Sized,
fn static_meta_object() -> *const QMetaObjectwhere
Self: Sized,
Returns a pointer to a meta object