[−][src]Struct qt_3d_input::QAxis
Constructs a new QAxis instance with parent.
C++ class: Qt3DInput::QAxis
.
Methods
impl QAxis
[src]
pub fn value_changed(&self) -> Signal<(c_float,)>
[src]
The value of the axis.
Returns a built-in Qt signal Qt3DInput::QAxis::valueChanged
that can be passed to qt_core::Signal::connect
.
The value of the axis.
Access functions:
float | value() const |
Notifier signal:
void | valueChanged(float value) |
pub unsafe fn add_input(&self, input: impl CastInto<Ptr<QAbstractAxisInput>>)
[src]
QAxis::addInput Adds an input for the axis.
Calls C++ function: void Qt3DInput::QAxis::addInput(Qt3DInput::QAbstractAxisInput* input)
.
QAxis::addInput Adds an input for the axis.
See also Qt3DInput::QAbstractAxisInput.
pub unsafe fn inputs(&self) -> CppBox<QVectorOfQAbstractAxisInput>
[src]
QAxis::inputs
Calls C++ function: QVector<Qt3DInput::QAbstractAxisInput*> Qt3DInput::QAxis::inputs() const
.
QAxis::inputs
Returns vector of all inputs added to the axis.
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DInput::QAxis::metaObject() const
.
pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QAxis>
[src]
Constructs a new QAxis instance with parent parent.
Calls C++ function: [constructor] void Qt3DInput::QAxis::QAxis(Qt3DCore::QNode* parent = …)
.
Constructs a new QAxis instance with parent parent.
pub unsafe fn new_0a() -> QBox<QAxis>
[src]
Constructs a new QAxis instance with parent.
Calls C++ function: [constructor] void Qt3DInput::QAxis::QAxis()
.
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::QAxis::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::QAxis::qt_metacast(const char* arg1)
.
pub unsafe fn remove_input(&self, input: impl CastInto<Ptr<QAbstractAxisInput>>)
[src]
QAxis::removeInput
Calls C++ function: void Qt3DInput::QAxis::removeInput(Qt3DInput::QAbstractAxisInput* input)
.
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::QAxis::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::QAxis::trUtf8(const char* s, const char* c, int n)
.
pub unsafe fn value(&self) -> c_float
[src]
The value of the axis.
Calls C++ function: float Qt3DInput::QAxis::value() const
.
The value of the axis.
Access functions:
float | value() const |
Notifier signal:
void | valueChanged(float value) |
Trait Implementations
impl CppDeletable for QAxis
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: virtual [destructor] void Qt3DInput::QAxis::~QAxis()
.
impl Deref for QAxis
[src]
type Target = QNode
The resulting type after dereferencing.
fn deref(&self) -> &QNode
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DInput::QAxis* ptr)
.
impl DynamicCast<QAxis> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QAxis>
[src]
Calls C++ function: Qt3DInput::QAxis* dynamic_cast<Qt3DInput::QAxis*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QAxis> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAxis>
[src]
Calls C++ function: Qt3DInput::QAxis* dynamic_cast<Qt3DInput::QAxis*>(QObject* ptr)
.
impl StaticDowncast<QAxis> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QAxis>
[src]
Calls C++ function: Qt3DInput::QAxis* static_cast<Qt3DInput::QAxis*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QAxis> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAxis>
[src]
Calls C++ function: Qt3DInput::QAxis* static_cast<Qt3DInput::QAxis*>(QObject* ptr)
.
impl StaticUpcast<QNode> for QAxis
[src]
unsafe fn static_upcast(ptr: Ptr<QAxis>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DInput::QAxis* ptr)
.
impl StaticUpcast<QObject> for QAxis
[src]
Auto Trait Implementations
impl RefUnwindSafe for QAxis
impl Send for QAxis
impl Sync for QAxis
impl Unpin for QAxis
impl UnwindSafe for QAxis
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>,