[][src]Struct qt_gui::QGenericPluginFactory

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

The QGenericPluginFactory class creates plugin drivers.

C++ class: QGenericPluginFactory.

C++ documentation:

The QGenericPluginFactory class creates plugin drivers.

Methods

impl QGenericPluginFactory[src]

pub unsafe fn copy_from(
    &self,
    other: impl CastInto<Ref<QGenericPluginFactory>>
) -> Ref<QGenericPluginFactory>
[src]

The QGenericPluginFactory class creates plugin drivers.

Calls C++ function: QGenericPluginFactory& QGenericPluginFactory::operator=(const QGenericPluginFactory& other).

C++ documentation:

The QGenericPluginFactory class creates plugin drivers.

pub unsafe fn create(
    arg1: impl CastInto<Ref<QString>>,
    arg2: impl CastInto<Ref<QString>>
) -> QPtr<QObject>
[src]

Creates the driver specified by key, using the given specification.

Calls C++ function: static QObject* QGenericPluginFactory::create(const QString& arg1, const QString& arg2).

C++ documentation:

Creates the driver specified by key, using the given specification.

Note that the keys are case-insensitive.

See also keys().

pub unsafe fn keys() -> CppBox<QStringList>[src]

Returns the list of valid keys, i.e. the available mouse drivers.

Calls C++ function: static QStringList QGenericPluginFactory::keys().

C++ documentation:

Returns the list of valid keys, i.e. the available mouse drivers.

See also create().

pub unsafe fn new() -> CppBox<QGenericPluginFactory>[src]

The QGenericPluginFactory class creates plugin drivers.

Calls C++ function: [constructor] void QGenericPluginFactory::QGenericPluginFactory().

C++ documentation:

The QGenericPluginFactory class creates plugin drivers.

pub unsafe fn new_copy(
    other: impl CastInto<Ref<QGenericPluginFactory>>
) -> CppBox<QGenericPluginFactory>
[src]

The QGenericPluginFactory class creates plugin drivers.

Calls C++ function: [constructor] void QGenericPluginFactory::QGenericPluginFactory(const QGenericPluginFactory& other).

C++ documentation:

The QGenericPluginFactory class creates plugin drivers.

Trait Implementations

impl CppDeletable for QGenericPluginFactory[src]

unsafe fn delete(&self)[src]

The QGenericPluginFactory class creates plugin drivers.

Calls C++ function: [destructor] void QGenericPluginFactory::~QGenericPluginFactory().

C++ documentation:

The QGenericPluginFactory class creates plugin drivers.

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.