[][src]Struct qt_3d_input::QKeyboardHandler

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

Provides keyboard event notification

C++ class: Qt3DInput::QKeyboardHandler.

C++ documentation:

Provides keyboard event notification

Methods

impl QKeyboardHandler[src]

pub fn slot_set_source_device(&self) -> Receiver<(*mut QKeyboardDevice,)>[src]

Holds the keyboard device of the QKeyboardHandler. Without a valid device, the QKeyboardHandler won't receive any event.

Returns a built-in Qt slot Qt3DInput::QKeyboardHandler::setSourceDevice that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the keyboard device of the QKeyboardHandler. Without a valid device, the QKeyboardHandler won't receive any event.

Access functions:

Qt3DInput::QKeyboardDevice *sourceDevice() const
void setSourceDevice(Qt3DInput::QKeyboardDevice *keyboardDevice)

Notifier signal:

void sourceDeviceChanged(QKeyboardDevice *keyboardDevice)

pub fn slot_set_focus(&self) -> Receiver<(bool,)>[src]

Sets the focus to focus. If focus is not currently set to true, this component will receive keyboard focus.

Returns a built-in Qt slot Qt3DInput::QKeyboardHandler::setFocus that can be passed to qt_core::Signal::connect.

C++ documentation:

Sets the focus to focus. If focus is not currently set to true, this component will receive keyboard focus.

Note: Setter function for property focus.

See also focus().

pub fn source_device_changed(&self) -> Signal<(*mut QKeyboardDevice,)>[src]

Holds the keyboard device of the QKeyboardHandler. Without a valid device, the QKeyboardHandler won't receive any event.

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::sourceDeviceChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the keyboard device of the QKeyboardHandler. Without a valid device, the QKeyboardHandler won't receive any event.

Access functions:

Qt3DInput::QKeyboardDevice *sourceDevice() const
void setSourceDevice(Qt3DInput::QKeyboardDevice *keyboardDevice)

Notifier signal:

void sourceDeviceChanged(QKeyboardDevice *keyboardDevice)

pub fn focus_changed(&self) -> Signal<(bool,)>[src]

Holds true if the QKeyboardHandlers has focus.

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::focusChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds true if the QKeyboardHandlers has focus.

Access functions:

bool focus() const
void setFocus(bool focus)

Notifier signal:

void focusChanged(bool focus)

pub fn digit0_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the 0 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::digit0Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the 0 key is pressed with the event details being contained within event

pub fn digit1_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the 1 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::digit1Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the 1 key is pressed with the event details being contained within event

pub fn digit2_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the 2 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::digit2Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the 2 key is pressed with the event details being contained within event

pub fn digit3_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the 3 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::digit3Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the 3 key is pressed with the event details being contained within event

pub fn digit4_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the 4 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::digit4Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the 4 key is pressed with the event details being contained within event

pub fn digit5_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the 5 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::digit5Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the 5 key is pressed with the event details being contained within event

pub fn digit6_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the 6 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::digit6Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the 6 key is pressed with the event details being contained within event

pub fn digit7_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the 7 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::digit7Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the 7 key is pressed with the event details being contained within event

pub fn digit8_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the 8 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::digit8Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the 8 key is pressed with the event details being contained within event

pub fn digit9_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the 9 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::digit9Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the 9 key is pressed with the event details being contained within event

pub fn left_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the left key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::leftPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the left key is pressed with the event details being contained within event

pub fn right_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the right key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::rightPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the right key is pressed with the event details being contained within event

pub fn up_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the up key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::upPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the up key is pressed with the event details being contained within event

pub fn down_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the down key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::downPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the down key is pressed with the event details being contained within event

pub fn tab_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the tab key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::tabPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the tab key is pressed with the event details being contained within event

pub fn backtab_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the backtab key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::backtabPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the backtab key is pressed with the event details being contained within event

pub fn asterisk_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the * key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::asteriskPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the * key is pressed with the event details being contained within event

pub fn number_sign_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the number sign key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::numberSignPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the number sign key is pressed with the event details being contained within event

pub fn escape_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the escape key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::escapePressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the escape key is pressed with the event details being contained within event

pub fn return_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the return key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::returnPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the return key is pressed with the event details being contained within event

pub fn enter_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the enter key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::enterPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the enter key is pressed with the event details being contained within event

pub fn delete_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the delete key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::deletePressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the delete key is pressed with the event details being contained within event

pub fn space_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the space key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::spacePressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the space key is pressed with the event details being contained within event

pub fn back_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the back key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::backPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the back key is pressed with the event details being contained within event

pub fn cancel_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the cancel key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::cancelPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the cancel key is pressed with the event details being contained within event

pub fn select_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the select key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::selectPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the select key is pressed with the event details being contained within event

pub fn yes_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the yes key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::yesPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the yes key is pressed with the event details being contained within event

pub fn no_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the yes key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::noPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the yes key is pressed with the event details being contained within event

pub fn context1_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the context 1 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::context1Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the context 1 key is pressed with the event details being contained within event

pub fn context2_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the context 2 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::context2Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the context 2 key is pressed with the event details being contained within event

pub fn context3_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the context 2 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::context3Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the context 2 key is pressed with the event details being contained within event

pub fn context4_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the context 4 key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::context4Pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the context 4 key is pressed with the event details being contained within event

pub fn call_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the call key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::callPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the call key is pressed with the event details being contained within event

pub fn hangup_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the hangup key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::hangupPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the hangup key is pressed with the event details being contained within event

pub fn flip_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the flip key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::flipPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the flip key is pressed with the event details being contained within event

pub fn menu_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the menu key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::menuPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the menu key is pressed with the event details being contained within event

pub fn volume_up_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the volume up key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::volumeUpPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the volume up key is pressed with the event details being contained within event

pub fn volume_down_pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when the volume down key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::volumeDownPressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the volume down key is pressed with the event details being contained within event

pub fn pressed(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when a key is pressed with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::pressed that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when a key is pressed with the event details being contained within event

pub fn released(&self) -> Signal<(*mut QKeyEvent,)>[src]

This signal is emitted when a key is released with the event details being contained within event

Returns a built-in Qt signal Qt3DInput::QKeyboardHandler::released that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when a key is released with the event details being contained within event

pub unsafe fn focus(&self) -> bool[src]

Holds true if the QKeyboardHandlers has focus.

Calls C++ function: bool Qt3DInput::QKeyboardHandler::focus() const.

C++ documentation:

Holds true if the QKeyboardHandlers has focus.

Access functions:

bool focus() const
void setFocus(bool focus)

Notifier signal:

void focusChanged(bool focus)

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

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

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

Constructs a new QKeyboardHandler instance with parent parent.

Calls C++ function: [constructor] void Qt3DInput::QKeyboardHandler::QKeyboardHandler(Qt3DCore::QNode* parent = …).

C++ documentation:

Constructs a new QKeyboardHandler instance with parent parent.

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

Provides keyboard event notification

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

C++ documentation:

Provides keyboard event notification

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::QKeyboardHandler::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::QKeyboardHandler::qt_metacast(const char* arg1).

pub unsafe fn set_focus(&self, focus: bool)[src]

Sets the focus to focus. If focus is not currently set to true, this component will receive keyboard focus.

Calls C++ function: [slot] void Qt3DInput::QKeyboardHandler::setFocus(bool focus).

C++ documentation:

Sets the focus to focus. If focus is not currently set to true, this component will receive keyboard focus.

Note: Setter function for property focus.

See also focus().

pub unsafe fn set_source_device(
    &self,
    keyboard_device: impl CastInto<Ptr<QKeyboardDevice>>
)
[src]

Holds the keyboard device of the QKeyboardHandler. Without a valid device, the QKeyboardHandler won't receive any event.

Calls C++ function: [slot] void Qt3DInput::QKeyboardHandler::setSourceDevice(Qt3DInput::QKeyboardDevice* keyboardDevice).

C++ documentation:

Holds the keyboard device of the QKeyboardHandler. Without a valid device, the QKeyboardHandler won't receive any event.

Access functions:

Qt3DInput::QKeyboardDevice *sourceDevice() const
void setSourceDevice(Qt3DInput::QKeyboardDevice *keyboardDevice)

Notifier signal:

void sourceDeviceChanged(QKeyboardDevice *keyboardDevice)

pub unsafe fn source_device(&self) -> QPtr<QKeyboardDevice>[src]

Holds the keyboard device of the QKeyboardHandler. Without a valid device, the QKeyboardHandler won't receive any event.

Calls C++ function: Qt3DInput::QKeyboardDevice* Qt3DInput::QKeyboardHandler::sourceDevice() const.

C++ documentation:

Holds the keyboard device of the QKeyboardHandler. Without a valid device, the QKeyboardHandler won't receive any event.

Access functions:

Qt3DInput::QKeyboardDevice *sourceDevice() const
void setSourceDevice(Qt3DInput::QKeyboardDevice *keyboardDevice)

Notifier signal:

void sourceDeviceChanged(QKeyboardDevice *keyboardDevice)

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::QKeyboardHandler::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::QKeyboardHandler::trUtf8(const char* s, const char* c, int n).

Trait Implementations

impl CppDeletable for QKeyboardHandler[src]

unsafe fn delete(&self)[src]

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

impl Deref for QKeyboardHandler[src]

type Target = QComponent

The resulting type after dereferencing.

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

Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DInput::QKeyboardHandler* ptr).

impl DynamicCast<QKeyboardHandler> for QComponent[src]

unsafe fn dynamic_cast(ptr: Ptr<QComponent>) -> Ptr<QKeyboardHandler>[src]

Calls C++ function: Qt3DInput::QKeyboardHandler* dynamic_cast<Qt3DInput::QKeyboardHandler*>(Qt3DCore::QComponent* ptr).

impl DynamicCast<QKeyboardHandler> for QNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QKeyboardHandler>[src]

Calls C++ function: Qt3DInput::QKeyboardHandler* dynamic_cast<Qt3DInput::QKeyboardHandler*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QKeyboardHandler> for QObject[src]

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

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

impl StaticDowncast<QKeyboardHandler> for QComponent[src]

unsafe fn static_downcast(ptr: Ptr<QComponent>) -> Ptr<QKeyboardHandler>[src]

Calls C++ function: Qt3DInput::QKeyboardHandler* static_cast<Qt3DInput::QKeyboardHandler*>(Qt3DCore::QComponent* ptr).

impl StaticDowncast<QKeyboardHandler> for QNode[src]

unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QKeyboardHandler>[src]

Calls C++ function: Qt3DInput::QKeyboardHandler* static_cast<Qt3DInput::QKeyboardHandler*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QKeyboardHandler> for QObject[src]

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

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

impl StaticUpcast<QComponent> for QKeyboardHandler[src]

unsafe fn static_upcast(ptr: Ptr<QKeyboardHandler>) -> Ptr<QComponent>[src]

Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DInput::QKeyboardHandler* ptr).

impl StaticUpcast<QNode> for QKeyboardHandler[src]

unsafe fn static_upcast(ptr: Ptr<QKeyboardHandler>) -> Ptr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DInput::QKeyboardHandler* ptr).

impl StaticUpcast<QObject> for QKeyboardHandler[src]

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

Calls C++ function: QObject* static_cast<QObject*>(Qt3DInput::QKeyboardHandler* 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.