[][src]Struct qt_3d_core::QPropertyValueAddedChangeBase

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

The QPropertyValueAddedChangeBase class is the base class for all PropertyValueAdded QSceneChange events

C++ class: Qt3DCore::QPropertyValueAddedChangeBase.

C++ documentation:

The QPropertyValueAddedChangeBase class is the base class for all PropertyValueAdded QSceneChange events

The QPropertyValueAddedChangeBase class is the base class for all QSceneChange events that have the changeType() PropertyValueAdded. You should not need to instantiate this class. Usually you should be using one of its subclasses such as QPropertyNodeAddedChange.

You can subclass this to create your own node added types for communication between your QNode and QBackendNode subclasses when writing your own aspects.

Methods from Deref<Target = QSceneChange>

pub unsafe fn delivery_flags(&self) -> QFlags<DeliveryFlag>[src]

Returns the set delivery flags

Calls C++ function: QFlags<Qt3DCore::QSceneChange::DeliveryFlag> Qt3DCore::QSceneChange::deliveryFlags() const.

C++ documentation:

Returns the set delivery flags

See also setDeliveryFlags().

pub unsafe fn set_delivery_flags(&mut self, flags: QFlags<DeliveryFlag>)[src]

Set the Delivery flags of the change to flags

Calls C++ function: void Qt3DCore::QSceneChange::setDeliveryFlags(QFlags<Qt3DCore::QSceneChange::DeliveryFlag> flags).

C++ documentation:

Set the Delivery flags of the change to flags

See also deliveryFlags().

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

Returns scene change subject id.

Calls C++ function: Qt3DCore::QNodeId Qt3DCore::QSceneChange::subjectId() const.

C++ documentation:

Returns scene change subject id.

pub unsafe fn type_(&self) -> ChangeFlag[src]

Returns scene change type.

Calls C++ function: Qt3DCore::ChangeFlag Qt3DCore::QSceneChange::type() const.

C++ documentation:

Returns scene change type.

Trait Implementations

impl CppDeletable for QPropertyValueAddedChangeBase[src]

unsafe fn delete(&mut self)[src]

Destroys the instance of QPropertyValueAddedChangeBase.

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

C++ documentation:

Destroys the instance of QPropertyValueAddedChangeBase.

impl Deref for QPropertyValueAddedChangeBase[src]

type Target = QSceneChange

The resulting type after dereferencing.

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

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

impl DerefMut for QPropertyValueAddedChangeBase[src]

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

Calls C++ function: Qt3DCore::QSceneChange* static_cast<Qt3DCore::QSceneChange*>(Qt3DCore::QPropertyValueAddedChangeBase* 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<QPropertyValueAddedChange> for QPropertyValueAddedChangeBase[src]

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

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

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

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

impl DynamicCast<QPropertyValueAddedChangeBase> for QSceneChange[src]

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

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

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

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

impl DynamicCast<QStaticPropertyValueAddedChangeBase> for QPropertyValueAddedChangeBase[src]

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

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

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

Calls C++ function: Qt3DCore::QStaticPropertyValueAddedChangeBase* dynamic_cast<Qt3DCore::QStaticPropertyValueAddedChangeBase*>(Qt3DCore::QPropertyValueAddedChangeBase* 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<QPropertyValueAddedChange> for QPropertyValueAddedChangeBase[src]

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

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

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

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

impl StaticDowncast<QPropertyValueAddedChangeBase> for QSceneChange[src]

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

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

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

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

impl StaticDowncast<QStaticPropertyValueAddedChangeBase> for QPropertyValueAddedChangeBase[src]

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

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

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

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

impl StaticUpcast<QPropertyValueAddedChangeBase> for QStaticPropertyValueAddedChangeBase[src]

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

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

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

Calls C++ function: Qt3DCore::QPropertyValueAddedChangeBase* static_cast<Qt3DCore::QPropertyValueAddedChangeBase*>(Qt3DCore::QStaticPropertyValueAddedChangeBase* 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<QPropertyValueAddedChangeBase> for QPropertyValueAddedChange[src]

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

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

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

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

impl StaticUpcast<QSceneChange> for QPropertyValueAddedChangeBase[src]

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

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

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

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