[−][src]Struct qt_3d_input::QLogicalDevice
QLogicalDevice allows the user to define a set of actions that they wish to use within an application.
C++ class: Qt3DInput::QLogicalDevice
.
QLogicalDevice allows the user to define a set of actions that they wish to use within an application.
Methods
impl QLogicalDevice
[src]
pub unsafe fn actions(&self) -> CppBox<QVectorOfQAction>
[src]
Returns the list of actions.
Calls C++ function: QVector<Qt3DInput::QAction*> Qt3DInput::QLogicalDevice::actions() const
.
Returns the list of actions.
pub unsafe fn add_action(&self, action: impl CastInto<Ptr<QAction>>)
[src]
Add an action to the list of actions.
Calls C++ function: void Qt3DInput::QLogicalDevice::addAction(Qt3DInput::QAction* action)
.
Add an action to the list of actions.
pub unsafe fn add_axis(&self, axis: impl CastInto<Ptr<QAxis>>)
[src]
Add an axis to the list of axis.
Calls C++ function: void Qt3DInput::QLogicalDevice::addAxis(Qt3DInput::QAxis* axis)
.
Add an axis to the list of axis.
pub unsafe fn axes(&self) -> CppBox<QVectorOfQAxis>
[src]
Returns the list of axis.
Calls C++ function: QVector<Qt3DInput::QAxis*> Qt3DInput::QLogicalDevice::axes() const
.
Returns the list of axis.
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DInput::QLogicalDevice::metaObject() const
.
pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QLogicalDevice>
[src]
Constructs a new QLogicalDevice instance with parent parent.
Calls C++ function: [constructor] void Qt3DInput::QLogicalDevice::QLogicalDevice(Qt3DCore::QNode* parent = …)
.
Constructs a new QLogicalDevice instance with parent parent.
pub unsafe fn new_0a() -> QBox<QLogicalDevice>
[src]
QLogicalDevice allows the user to define a set of actions that they wish to use within an application.
Calls C++ function: [constructor] void Qt3DInput::QLogicalDevice::QLogicalDevice()
.
QLogicalDevice allows the user to define a set of actions that they wish to use within an application.
pub unsafe fn qt_metacall(
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
[src]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
Calls C++ function: virtual int Qt3DInput::QLogicalDevice::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::QLogicalDevice::qt_metacast(const char* arg1)
.
pub unsafe fn remove_action(&self, action: impl CastInto<Ptr<QAction>>)
[src]
Remove an action from the list of actions.
Calls C++ function: void Qt3DInput::QLogicalDevice::removeAction(Qt3DInput::QAction* action)
.
Remove an action from the list of actions.
pub unsafe fn remove_axis(&self, axis: impl CastInto<Ptr<QAxis>>)
[src]
Remove an axis drom the list of axis.
Calls C++ function: void Qt3DInput::QLogicalDevice::removeAxis(Qt3DInput::QAxis* axis)
.
Remove an axis drom the list of axis.
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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DInput::QLogicalDevice::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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DInput::QLogicalDevice::trUtf8(const char* s, const char* c, int n)
.
Trait Implementations
impl CppDeletable for QLogicalDevice
[src]
unsafe fn delete(&self)
[src]
Destroys the instance of QLogicalDevice.
Calls C++ function: virtual [destructor] void Qt3DInput::QLogicalDevice::~QLogicalDevice()
.
Destroys the instance of QLogicalDevice.
impl Deref for QLogicalDevice
[src]
type Target = QComponent
The resulting type after dereferencing.
fn deref(&self) -> &QComponent
[src]
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DInput::QLogicalDevice* ptr)
.
impl DynamicCast<QLogicalDevice> for QComponent
[src]
unsafe fn dynamic_cast(ptr: Ptr<QComponent>) -> Ptr<QLogicalDevice>
[src]
Calls C++ function: Qt3DInput::QLogicalDevice* dynamic_cast<Qt3DInput::QLogicalDevice*>(Qt3DCore::QComponent* ptr)
.
impl DynamicCast<QLogicalDevice> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QLogicalDevice>
[src]
Calls C++ function: Qt3DInput::QLogicalDevice* dynamic_cast<Qt3DInput::QLogicalDevice*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QLogicalDevice> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QLogicalDevice>
[src]
Calls C++ function: Qt3DInput::QLogicalDevice* dynamic_cast<Qt3DInput::QLogicalDevice*>(QObject* ptr)
.
impl StaticDowncast<QLogicalDevice> for QComponent
[src]
unsafe fn static_downcast(ptr: Ptr<QComponent>) -> Ptr<QLogicalDevice>
[src]
Calls C++ function: Qt3DInput::QLogicalDevice* static_cast<Qt3DInput::QLogicalDevice*>(Qt3DCore::QComponent* ptr)
.
impl StaticDowncast<QLogicalDevice> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QLogicalDevice>
[src]
Calls C++ function: Qt3DInput::QLogicalDevice* static_cast<Qt3DInput::QLogicalDevice*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QLogicalDevice> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QLogicalDevice>
[src]
Calls C++ function: Qt3DInput::QLogicalDevice* static_cast<Qt3DInput::QLogicalDevice*>(QObject* ptr)
.
impl StaticUpcast<QComponent> for QLogicalDevice
[src]
unsafe fn static_upcast(ptr: Ptr<QLogicalDevice>) -> Ptr<QComponent>
[src]
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DInput::QLogicalDevice* ptr)
.
impl StaticUpcast<QNode> for QLogicalDevice
[src]
unsafe fn static_upcast(ptr: Ptr<QLogicalDevice>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DInput::QLogicalDevice* ptr)
.
impl StaticUpcast<QObject> for QLogicalDevice
[src]
unsafe fn static_upcast(ptr: Ptr<QLogicalDevice>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DInput::QLogicalDevice* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QLogicalDevice
impl Send for QLogicalDevice
impl Sync for QLogicalDevice
impl Unpin for QLogicalDevice
impl UnwindSafe for QLogicalDevice
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>,