[][src]Struct qt_3d_core::QNodeDestroyedChange

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

Used to notify when a node is destroyed.

C++ class: Qt3DCore::QNodeDestroyedChange.

C++ documentation:

Used to notify when a node is destroyed.

Methods

impl QNodeDestroyedChange[src]

pub unsafe fn new(
    node: impl CastInto<Ptr<QNode>>,
    subtree_ids_and_types: impl CastInto<Ref<QVectorOfQNodeIdTypePair>>
) -> CppBox<QNodeDestroyedChange>
[src]

Constructs a new QNodeDestroyedChange with node and its subtreeIdsAndTypes.

Calls C++ function: [constructor] void Qt3DCore::QNodeDestroyedChange::QNodeDestroyedChange(const Qt3DCore::QNode* node, const QVector<Qt3DCore::QNodeIdTypePair>& subtreeIdsAndTypes).

C++ documentation:

Constructs a new QNodeDestroyedChange with node and its subtreeIdsAndTypes.

pub unsafe fn subtree_ids_and_types(&self) -> CppBox<QVectorOfQNodeIdTypePair>[src]

Returns a vector of subtree node id type pairs

Calls C++ function: QVector<Qt3DCore::QNodeIdTypePair> Qt3DCore::QNodeDestroyedChange::subtreeIdsAndTypes() const.

C++ documentation:

Returns a vector of subtree node id type pairs

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 QNodeDestroyedChange[src]

unsafe fn delete(&mut self)[src]

Destroys the instance of QNodeDestroyedChange.

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

C++ documentation:

Destroys the instance of QNodeDestroyedChange.

impl Deref for QNodeDestroyedChange[src]

type Target = QSceneChange

The resulting type after dereferencing.

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

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

impl DerefMut for QNodeDestroyedChange[src]

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

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

impl DynamicCast<QNodeDestroyedChange> for QSceneChange[src]

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

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

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

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

impl StaticDowncast<QNodeDestroyedChange> for QSceneChange[src]

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

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

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

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

impl StaticUpcast<QSceneChange> for QNodeDestroyedChange[src]

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

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

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

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