[−][src]Struct qt_3d_core::QDynamicPropertyUpdatedChange
The QDynamicPropertyUpdatedChange class is used to notify when a dynamic property value is updated
C++ class: Qt3DCore::QDynamicPropertyUpdatedChange
.
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]
subject_id: impl CastInto<Ref<QNodeId>>
) -> CppBox<QDynamicPropertyUpdatedChange>
Constructs a new QDynamicPropertyUpdatedChange with subjectId.
Calls C++ function: [constructor] void Qt3DCore::QDynamicPropertyUpdatedChange::QDynamicPropertyUpdatedChange(Qt3DCore::QNodeId subjectId)
.
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
.
Returns name of the property.
See also setPropertyName().
pub unsafe fn set_property_name(&self, name: impl CastInto<Ref<QByteArray>>)
[src]
Sets the property change name.
Calls C++ function: void Qt3DCore::QDynamicPropertyUpdatedChange::setPropertyName(const QByteArray& name)
.
Sets the property change name.
See also propertyName().
pub unsafe fn set_value(&self, value: impl CastInto<Ref<QVariant>>)
[src]
Set the property change value.
Calls C++ function: void Qt3DCore::QDynamicPropertyUpdatedChange::setValue(const QVariant& value)
.
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
.
Returns property value.
See also setValue().
Trait Implementations
impl CppDeletable for QDynamicPropertyUpdatedChange
[src]
unsafe fn delete(&self)
[src]
Destroys the instance of QDynamicPropertyUpdatedChange.
Calls C++ function: virtual [destructor] void Qt3DCore::QDynamicPropertyUpdatedChange::~QDynamicPropertyUpdatedChange()
.
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 DynamicCast<QDynamicPropertyUpdatedChange> for QPropertyUpdatedChangeBase
[src]
unsafe fn dynamic_cast(
ptr: Ptr<QPropertyUpdatedChangeBase>
) -> Ptr<QDynamicPropertyUpdatedChange>
[src]
ptr: Ptr<QPropertyUpdatedChangeBase>
) -> Ptr<QDynamicPropertyUpdatedChange>
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]
ptr: Ptr<QSceneChange>
) -> Ptr<QDynamicPropertyUpdatedChange>
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]
ptr: Ptr<QPropertyUpdatedChangeBase>
) -> Ptr<QDynamicPropertyUpdatedChange>
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]
ptr: Ptr<QSceneChange>
) -> Ptr<QDynamicPropertyUpdatedChange>
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]
ptr: Ptr<QDynamicPropertyUpdatedChange>
) -> Ptr<QPropertyUpdatedChangeBase>
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]
ptr: Ptr<QDynamicPropertyUpdatedChange>
) -> Ptr<QSceneChange>
Calls C++ function: Qt3DCore::QSceneChange* static_cast<Qt3DCore::QSceneChange*>(Qt3DCore::QDynamicPropertyUpdatedChange* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QDynamicPropertyUpdatedChange
impl Send for QDynamicPropertyUpdatedChange
impl Sync for QDynamicPropertyUpdatedChange
impl Unpin for QDynamicPropertyUpdatedChange
impl UnwindSafe for QDynamicPropertyUpdatedChange
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>,