[][src]Struct qt_3d_input::QInputAspect

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

Responsible for creating physical devices and handling associated jobs.

C++ class: Qt3DInput::QInputAspect.

C++ documentation:

Responsible for creating physical devices and handling associated jobs.

Handles mapping between front and backend nodes

QInputAspect is responsible for creating physical devices. It is also the object responsible establishing the jobs to run at a particular time from the current input setup.

Methods

impl QInputAspect[src]

pub unsafe fn available_physical_devices(&self) -> CppBox<QStringList>[src]

Returns a list of all available physical devices.

Calls C++ function: QStringList Qt3DInput::QInputAspect::availablePhysicalDevices() const.

C++ documentation:

Returns a list of all available physical devices.

pub unsafe fn create_physical_device(
    &self,
    name: impl CastInto<Ref<QString>>
) -> QPtr<QAbstractPhysicalDevice>
[src]

Create a physical device identified by name using the input device integrations present returns a Q_NULLPTR if it is not found.

Calls C++ function: Qt3DInput::QAbstractPhysicalDevice* Qt3DInput::QInputAspect::createPhysicalDevice(const QString& name).

C++ documentation:

Create a physical device identified by name using the input device integrations present returns a Q_NULLPTR if it is not found.

Note: caller is responsible for ownership

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DInput::QInputAspect::metaObject() const.

pub unsafe fn new_1a(parent: impl CastInto<Ptr<QObject>>) -> QBox<QInputAspect>[src]

Constructs a new QInputAspect with parent.

Calls C++ function: [constructor] void Qt3DInput::QInputAspect::QInputAspect(QObject* parent = …).

C++ documentation:

Constructs a new QInputAspect with parent.

pub unsafe fn new_0a() -> QBox<QInputAspect>[src]

Responsible for creating physical devices and handling associated jobs.

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

C++ documentation:

Responsible for creating physical devices and handling associated jobs.

Handles mapping between front and backend nodes

QInputAspect is responsible for creating physical devices. It is also the object responsible establishing the jobs to run at a particular time from the current input setup.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int Qt3DInput::QInputAspect::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* Qt3DInput::QInputAspect::qt_metacast(const char* arg1).

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DInput::QInputAspect::tr(const char* s, const char* c, int n).

pub unsafe fn tr_utf8(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DInput::QInputAspect::trUtf8(const char* s, const char* c, int n).

Methods from Deref<Target = QAbstractAspect>

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DCore::QAbstractAspect::metaObject() const.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: i32,
    arg3: *mut *mut c_void
) -> i32
[src]

Calls C++ function: virtual int Qt3DCore::QAbstractAspect::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const i8) -> *mut c_void[src]

Calls C++ function: virtual void* Qt3DCore::QAbstractAspect::qt_metacast(const char* arg1).

Trait Implementations

impl CppDeletable for QInputAspect[src]

unsafe fn delete(&self)[src]

Calls C++ function: virtual [destructor] void Qt3DInput::QInputAspect::~QInputAspect().

impl Deref for QInputAspect[src]

type Target = QAbstractAspect

The resulting type after dereferencing.

fn deref(&self) -> &QAbstractAspect[src]

Calls C++ function: Qt3DCore::QAbstractAspect* static_cast<Qt3DCore::QAbstractAspect*>(Qt3DInput::QInputAspect* ptr).

impl DynamicCast<QInputAspect> for QAbstractAspect[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractAspect>) -> Ptr<QInputAspect>[src]

Calls C++ function: Qt3DInput::QInputAspect* dynamic_cast<Qt3DInput::QInputAspect*>(Qt3DCore::QAbstractAspect* ptr).

impl DynamicCast<QInputAspect> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QInputAspect>[src]

Calls C++ function: Qt3DInput::QInputAspect* dynamic_cast<Qt3DInput::QInputAspect*>(QObject* ptr).

impl StaticDowncast<QInputAspect> for QAbstractAspect[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractAspect>) -> Ptr<QInputAspect>[src]

Calls C++ function: Qt3DInput::QInputAspect* static_cast<Qt3DInput::QInputAspect*>(Qt3DCore::QAbstractAspect* ptr).

impl StaticDowncast<QInputAspect> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QInputAspect>[src]

Calls C++ function: Qt3DInput::QInputAspect* static_cast<Qt3DInput::QInputAspect*>(QObject* ptr).

impl StaticUpcast<QAbstractAspect> for QInputAspect[src]

unsafe fn static_upcast(ptr: Ptr<QInputAspect>) -> Ptr<QAbstractAspect>[src]

Calls C++ function: Qt3DCore::QAbstractAspect* static_cast<Qt3DCore::QAbstractAspect*>(Qt3DInput::QInputAspect* ptr).

impl StaticUpcast<QObject> for QInputAspect[src]

unsafe fn static_upcast(ptr: Ptr<QInputAspect>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(Qt3DInput::QInputAspect* ptr).

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.