Struct qt_core::QStaticPlugin
source · #[repr(C)]pub struct QStaticPlugin { /* private fields */ }
Expand description
QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.
C++ class: QStaticPlugin
.
QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.
Implementations§
source§impl QStaticPlugin
impl QStaticPlugin
sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QStaticPlugin>>
) -> Ref<QStaticPlugin>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QStaticPlugin>> ) -> Ref<QStaticPlugin>
QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.
Calls C++ function: QStaticPlugin& QStaticPlugin::operator=(const QStaticPlugin& other)
.
QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.
sourcepub unsafe fn instance(&self) -> Option<extern "C" fn() -> *mut QObject>
pub unsafe fn instance(&self) -> Option<extern "C" fn() -> *mut QObject>
Returns the value of the instance
field.
sourcepub unsafe fn meta_data(&self) -> CppBox<QJsonObject>
pub unsafe fn meta_data(&self) -> CppBox<QJsonObject>
Returns a the meta data for the plugin as a QJsonObject.
Calls C++ function: QJsonObject QStaticPlugin::metaData() const
.
Returns a the meta data for the plugin as a QJsonObject.
See also rawMetaData().
sourcepub unsafe fn new() -> CppBox<QStaticPlugin>
pub unsafe fn new() -> CppBox<QStaticPlugin>
QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.
Calls C++ function: [constructor] void QStaticPlugin::QStaticPlugin()
.
QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.
sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QStaticPlugin>>
) -> CppBox<QStaticPlugin>
pub unsafe fn new_copy( other: impl CastInto<Ref<QStaticPlugin>> ) -> CppBox<QStaticPlugin>
QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.
Calls C++ function: [constructor] void QStaticPlugin::QStaticPlugin(const QStaticPlugin& other)
.
QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.
sourcepub unsafe fn raw_meta_data(&self) -> Option<extern "C" fn() -> *const c_char>
pub unsafe fn raw_meta_data(&self) -> Option<extern "C" fn() -> *const c_char>
Returns the value of the rawMetaData
field.
Trait Implementations§
source§impl CppDeletable for QStaticPlugin
impl CppDeletable for QStaticPlugin
source§unsafe fn delete(&self)
unsafe fn delete(&self)
QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.
Calls C++ function: [destructor] void QStaticPlugin::~QStaticPlugin()
.
QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.