[][src]Struct qt_3d_core::QPropertyNodeAddedChange

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

Used to notify when a node is added to a property

C++ class: Qt3DCore::QPropertyNodeAddedChange.

C++ documentation:

Used to notify when a node is added to a property

Methods

impl QPropertyNodeAddedChange[src]

pub unsafe fn added_node_id(&self) -> CppBox<QNodeId>[src]

Returns the id of the node added to the property.

Calls C++ function: Qt3DCore::QNodeId Qt3DCore::QPropertyNodeAddedChange::addedNodeId() const.

C++ documentation:

Returns the id of the node added to the property.

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

Returns the meta object of the node added to the property.

Calls C++ function: const QMetaObject* Qt3DCore::QPropertyNodeAddedChange::metaObject() const.

C++ documentation:

Returns the meta object of the node added to the property.

pub unsafe fn new(
    subject_id: impl CastInto<Ref<QNodeId>>,
    node: impl CastInto<MutPtr<QNode>>
) -> CppBox<QPropertyNodeAddedChange>
[src]

Constructs a new QPropertyNodeAddedChange with subjectId, node.

Calls C++ function: [constructor] void Qt3DCore::QPropertyNodeAddedChange::QPropertyNodeAddedChange(Qt3DCore::QNodeId subjectId, Qt3DCore::QNode* node).

C++ documentation:

Constructs a new QPropertyNodeAddedChange with subjectId, node.

Methods from Deref<Target = QStaticPropertyValueAddedChangeBase>

pub unsafe fn property_name(&self) -> Ptr<c_char>[src]

Returns name of the property.

Calls C++ function: const char* Qt3DCore::QStaticPropertyValueAddedChangeBase::propertyName() const.

C++ documentation:

Returns name of the property.

See also setPropertyName().

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

Sets the property change name.

Calls C++ function: void Qt3DCore::QStaticPropertyValueAddedChangeBase::setPropertyName(const char* name).

C++ documentation:

Sets the property change name.

See also propertyName().

Trait Implementations

impl Deref for QPropertyNodeAddedChange[src]

type Target = QStaticPropertyValueAddedChangeBase

The resulting type after dereferencing.

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

Calls C++ function: Qt3DCore::QStaticPropertyValueAddedChangeBase* static_cast<Qt3DCore::QStaticPropertyValueAddedChangeBase*>(Qt3DCore::QPropertyNodeAddedChange* ptr).

impl DerefMut for QPropertyNodeAddedChange[src]

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

Calls C++ function: Qt3DCore::QStaticPropertyValueAddedChangeBase* static_cast<Qt3DCore::QStaticPropertyValueAddedChangeBase*>(Qt3DCore::QPropertyNodeAddedChange* ptr).

impl StaticUpcast<QStaticPropertyValueAddedChangeBase> for QPropertyNodeAddedChange[src]

unsafe fn static_upcast(
    ptr: Ptr<QPropertyNodeAddedChange>
) -> Ptr<QStaticPropertyValueAddedChangeBase>
[src]

Calls C++ function: Qt3DCore::QStaticPropertyValueAddedChangeBase* static_cast<Qt3DCore::QStaticPropertyValueAddedChangeBase*>(Qt3DCore::QPropertyNodeAddedChange* ptr).

unsafe fn static_upcast_mut(
    ptr: MutPtr<QPropertyNodeAddedChange>
) -> MutPtr<QStaticPropertyValueAddedChangeBase>
[src]

Calls C++ function: Qt3DCore::QStaticPropertyValueAddedChangeBase* static_cast<Qt3DCore::QStaticPropertyValueAddedChangeBase*>(Qt3DCore::QPropertyNodeAddedChange* ptr).

impl StaticUpcast<QPropertyValueAddedChangeBase> for QPropertyNodeAddedChange[src]

unsafe fn static_upcast(
    ptr: Ptr<QPropertyNodeAddedChange>
) -> Ptr<QPropertyValueAddedChangeBase>
[src]

Calls C++ function: Qt3DCore::QPropertyValueAddedChangeBase* static_cast<Qt3DCore::QPropertyValueAddedChangeBase*>(Qt3DCore::QPropertyNodeAddedChange* ptr).

unsafe fn static_upcast_mut(
    ptr: MutPtr<QPropertyNodeAddedChange>
) -> MutPtr<QPropertyValueAddedChangeBase>
[src]

Calls C++ function: Qt3DCore::QPropertyValueAddedChangeBase* static_cast<Qt3DCore::QPropertyValueAddedChangeBase*>(Qt3DCore::QPropertyNodeAddedChange* ptr).

impl StaticUpcast<QSceneChange> for QPropertyNodeAddedChange[src]

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

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

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

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

impl StaticDowncast<QPropertyNodeAddedChange> for QStaticPropertyValueAddedChangeBase[src]

unsafe fn static_downcast(
    ptr: Ptr<QStaticPropertyValueAddedChangeBase>
) -> Ptr<QPropertyNodeAddedChange>
[src]

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* static_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QStaticPropertyValueAddedChangeBase* ptr).

unsafe fn static_downcast_mut(
    ptr: MutPtr<QStaticPropertyValueAddedChangeBase>
) -> MutPtr<QPropertyNodeAddedChange>
[src]

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* static_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QStaticPropertyValueAddedChangeBase* ptr).

impl StaticDowncast<QPropertyNodeAddedChange> for QPropertyValueAddedChangeBase[src]

unsafe fn static_downcast(
    ptr: Ptr<QPropertyValueAddedChangeBase>
) -> Ptr<QPropertyNodeAddedChange>
[src]

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* static_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QPropertyValueAddedChangeBase* ptr).

unsafe fn static_downcast_mut(
    ptr: MutPtr<QPropertyValueAddedChangeBase>
) -> MutPtr<QPropertyNodeAddedChange>
[src]

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* static_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QPropertyValueAddedChangeBase* ptr).

impl StaticDowncast<QPropertyNodeAddedChange> for QSceneChange[src]

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

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

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

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

impl DynamicCast<QPropertyNodeAddedChange> for QStaticPropertyValueAddedChangeBase[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QStaticPropertyValueAddedChangeBase>
) -> Ptr<QPropertyNodeAddedChange>
[src]

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* dynamic_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QStaticPropertyValueAddedChangeBase* ptr).

unsafe fn dynamic_cast_mut(
    ptr: MutPtr<QStaticPropertyValueAddedChangeBase>
) -> MutPtr<QPropertyNodeAddedChange>
[src]

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* dynamic_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QStaticPropertyValueAddedChangeBase* ptr).

impl DynamicCast<QPropertyNodeAddedChange> for QPropertyValueAddedChangeBase[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QPropertyValueAddedChangeBase>
) -> Ptr<QPropertyNodeAddedChange>
[src]

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* dynamic_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QPropertyValueAddedChangeBase* ptr).

unsafe fn dynamic_cast_mut(
    ptr: MutPtr<QPropertyValueAddedChangeBase>
) -> MutPtr<QPropertyNodeAddedChange>
[src]

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* dynamic_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QPropertyValueAddedChangeBase* ptr).

impl DynamicCast<QPropertyNodeAddedChange> for QSceneChange[src]

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

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

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

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

impl CppDeletable for QPropertyNodeAddedChange[src]

unsafe fn delete(&mut self)[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]