[][src]Struct qt_core::QStaticPlugin

#[repr(C)]pub struct QStaticPlugin { /* fields omitted */ }

QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.

C++ class: QStaticPlugin.

C++ documentation:

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]

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).

C++ documentation:

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.

C++ documentation:

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().

C++ documentation:

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]

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).

C++ documentation:

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]

Sets the value of the instance field.

pub unsafe fn set_raw_meta_data(
    &self,
    value: Option<extern "C" fn() -> *const c_char>
)
[src]

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().

C++ documentation:

QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.