[][src]Struct qt_3d_core::QDynamicPropertyUpdatedChange

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

The QDynamicPropertyUpdatedChange class is used to notify when a dynamic property value is updated

C++ class: Qt3DCore::QDynamicPropertyUpdatedChange.

C++ documentation:

The QDynamicPropertyUpdatedChange class is used to notify when a dynamic property value is updated

Methods

impl QDynamicPropertyUpdatedChange[src]

pub unsafe fn new(
    subject_id: impl CastInto<Ref<QNodeId>>
) -> CppBox<QDynamicPropertyUpdatedChange>
[src]

Constructs a new QDynamicPropertyUpdatedChange with subjectId.

Calls C++ function: [constructor] void Qt3DCore::QDynamicPropertyUpdatedChange::QDynamicPropertyUpdatedChange(Qt3DCore::QNodeId subjectId).

C++ documentation:

Constructs a new QDynamicPropertyUpdatedChange with subjectId.

pub unsafe fn property_name(&self) -> CppBox<QByteArray>[src]

Returns name of the property.

Calls C++ function: QByteArray Qt3DCore::QDynamicPropertyUpdatedChange::propertyName() const.

C++ documentation:

Returns name of the property.

See also setPropertyName().

pub unsafe fn set_property_name(&mut self, name: impl CastInto<Ref<QByteArray>>)[src]

Sets the property change name.

Calls C++ function: void Qt3DCore::QDynamicPropertyUpdatedChange::setPropertyName(const QByteArray& name).

C++ documentation:

Sets the property change name.

See also propertyName().

pub unsafe fn set_value(&mut self, value: impl CastInto<Ref<QVariant>>)[src]

Set the property change value.

Calls C++ function: void Qt3DCore::QDynamicPropertyUpdatedChange::setValue(const QVariant& value).

C++ documentation:

Set the property change value.

See also value().

pub unsafe fn value(&self) -> CppBox<QVariant>[src]

Returns property value.

Calls C++ function: QVariant Qt3DCore::QDynamicPropertyUpdatedChange::value() const.

C++ documentation:

Returns property value.

See also setValue().

Trait Implementations

impl CppDeletable for QDynamicPropertyUpdatedChange[src]

unsafe fn delete(&mut self)[src]

Destroys the instance of QDynamicPropertyUpdatedChange.

Calls C++ function: virtual [destructor] void Qt3DCore::QDynamicPropertyUpdatedChange::~QDynamicPropertyUpdatedChange().

C++ documentation:

Destroys the instance of QDynamicPropertyUpdatedChange.

impl Deref for QDynamicPropertyUpdatedChange[src]

type Target = QPropertyUpdatedChangeBase

The resulting type after dereferencing.

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

Calls C++ function: Qt3DCore::QPropertyUpdatedChangeBase* static_cast<Qt3DCore::QPropertyUpdatedChangeBase*>(Qt3DCore::QDynamicPropertyUpdatedChange* ptr).

impl DerefMut for QDynamicPropertyUpdatedChange[src]

fn deref_mut(&mut self) -> &mut QPropertyUpdatedChangeBase[src]

Calls C++ function: Qt3DCore::QPropertyUpdatedChangeBase* static_cast<Qt3DCore::QPropertyUpdatedChangeBase*>(Qt3DCore::QDynamicPropertyUpdatedChange* ptr).

impl DynamicCast<QDynamicPropertyUpdatedChange> for QPropertyUpdatedChangeBase[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QPropertyUpdatedChangeBase>
) -> Ptr<QDynamicPropertyUpdatedChange>
[src]

Calls C++ function: Qt3DCore::QDynamicPropertyUpdatedChange* dynamic_cast<Qt3DCore::QDynamicPropertyUpdatedChange*>(Qt3DCore::QPropertyUpdatedChangeBase* ptr).

unsafe fn dynamic_cast_mut(
    ptr: MutPtr<QPropertyUpdatedChangeBase>
) -> MutPtr<QDynamicPropertyUpdatedChange>
[src]

Calls C++ function: Qt3DCore::QDynamicPropertyUpdatedChange* dynamic_cast<Qt3DCore::QDynamicPropertyUpdatedChange*>(Qt3DCore::QPropertyUpdatedChangeBase* ptr).

impl DynamicCast<QDynamicPropertyUpdatedChange> for QSceneChange[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QSceneChange>
) -> Ptr<QDynamicPropertyUpdatedChange>
[src]

Calls C++ function: Qt3DCore::QDynamicPropertyUpdatedChange* dynamic_cast<Qt3DCore::QDynamicPropertyUpdatedChange*>(Qt3DCore::QSceneChange* ptr).

unsafe fn dynamic_cast_mut(
    ptr: MutPtr<QSceneChange>
) -> MutPtr<QDynamicPropertyUpdatedChange>
[src]

Calls C++ function: Qt3DCore::QDynamicPropertyUpdatedChange* dynamic_cast<Qt3DCore::QDynamicPropertyUpdatedChange*>(Qt3DCore::QSceneChange* ptr).

impl StaticDowncast<QDynamicPropertyUpdatedChange> for QPropertyUpdatedChangeBase[src]

unsafe fn static_downcast(
    ptr: Ptr<QPropertyUpdatedChangeBase>
) -> Ptr<QDynamicPropertyUpdatedChange>
[src]

Calls C++ function: Qt3DCore::QDynamicPropertyUpdatedChange* static_cast<Qt3DCore::QDynamicPropertyUpdatedChange*>(Qt3DCore::QPropertyUpdatedChangeBase* ptr).

unsafe fn static_downcast_mut(
    ptr: MutPtr<QPropertyUpdatedChangeBase>
) -> MutPtr<QDynamicPropertyUpdatedChange>
[src]

Calls C++ function: Qt3DCore::QDynamicPropertyUpdatedChange* static_cast<Qt3DCore::QDynamicPropertyUpdatedChange*>(Qt3DCore::QPropertyUpdatedChangeBase* ptr).

impl StaticDowncast<QDynamicPropertyUpdatedChange> for QSceneChange[src]

unsafe fn static_downcast(
    ptr: Ptr<QSceneChange>
) -> Ptr<QDynamicPropertyUpdatedChange>
[src]

Calls C++ function: Qt3DCore::QDynamicPropertyUpdatedChange* static_cast<Qt3DCore::QDynamicPropertyUpdatedChange*>(Qt3DCore::QSceneChange* ptr).

unsafe fn static_downcast_mut(
    ptr: MutPtr<QSceneChange>
) -> MutPtr<QDynamicPropertyUpdatedChange>
[src]

Calls C++ function: Qt3DCore::QDynamicPropertyUpdatedChange* static_cast<Qt3DCore::QDynamicPropertyUpdatedChange*>(Qt3DCore::QSceneChange* ptr).

impl StaticUpcast<QPropertyUpdatedChangeBase> for QDynamicPropertyUpdatedChange[src]

unsafe fn static_upcast(
    ptr: Ptr<QDynamicPropertyUpdatedChange>
) -> Ptr<QPropertyUpdatedChangeBase>
[src]

Calls C++ function: Qt3DCore::QPropertyUpdatedChangeBase* static_cast<Qt3DCore::QPropertyUpdatedChangeBase*>(Qt3DCore::QDynamicPropertyUpdatedChange* ptr).

unsafe fn static_upcast_mut(
    ptr: MutPtr<QDynamicPropertyUpdatedChange>
) -> MutPtr<QPropertyUpdatedChangeBase>
[src]

Calls C++ function: Qt3DCore::QPropertyUpdatedChangeBase* static_cast<Qt3DCore::QPropertyUpdatedChangeBase*>(Qt3DCore::QDynamicPropertyUpdatedChange* ptr).

impl StaticUpcast<QSceneChange> for QDynamicPropertyUpdatedChange[src]

unsafe fn static_upcast(
    ptr: Ptr<QDynamicPropertyUpdatedChange>
) -> Ptr<QSceneChange>
[src]

Calls C++ function: Qt3DCore::QSceneChange* static_cast<Qt3DCore::QSceneChange*>(Qt3DCore::QDynamicPropertyUpdatedChange* ptr).

unsafe fn static_upcast_mut(
    ptr: MutPtr<QDynamicPropertyUpdatedChange>
) -> MutPtr<QSceneChange>
[src]

Calls C++ function: Qt3DCore::QSceneChange* static_cast<Qt3DCore::QSceneChange*>(Qt3DCore::QDynamicPropertyUpdatedChange* 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.