[−][src]Struct qt_core::QStaticPlugin
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.
Methods
impl QStaticPlugin
[src]
pub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QStaticPlugin>>
) -> Ref<QStaticPlugin>
[src]
&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.
pub unsafe fn instance(&self) -> Option<extern "C" fn() -> *mut QObject>
[src]
Returns the value of the instance
field.
pub unsafe fn meta_data(&self) -> CppBox<QJsonObject>
[src]
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().
pub unsafe fn new() -> CppBox<QStaticPlugin>
[src]
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.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QStaticPlugin>>
) -> CppBox<QStaticPlugin>
[src]
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.
pub unsafe fn raw_meta_data(&self) -> Option<extern "C" fn() -> *const c_char>
[src]
Returns the value of the rawMetaData
field.
pub unsafe fn set_instance(
&self,
value: Option<extern "C" fn() -> *mut QObject>
)
[src]
&self,
value: Option<extern "C" fn() -> *mut QObject>
)
Sets the value of the instance
field.
pub unsafe fn set_raw_meta_data(
&self,
value: Option<extern "C" fn() -> *const c_char>
)
[src]
&self,
value: Option<extern "C" fn() -> *const c_char>
)
Sets the value of the rawMetaData
field.
Trait Implementations
impl CppDeletable for QStaticPlugin
[src]
unsafe fn delete(&self)
[src]
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.
Auto Trait Implementations
impl RefUnwindSafe for QStaticPlugin
impl Send for QStaticPlugin
impl Sync for QStaticPlugin
impl Unpin for QStaticPlugin
impl UnwindSafe for QStaticPlugin
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,