[−][src]Struct qt_3d_core::QNodeDestroyedChange
Used to notify when a node is destroyed.
C++ class: Qt3DCore::QNodeDestroyedChange
.
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]
node: impl CastInto<Ptr<QNode>>,
subtree_ids_and_types: impl CastInto<Ref<QVectorOfQNodeIdTypePair>>
) -> CppBox<QNodeDestroyedChange>
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)
.
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
.
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
.
Returns the set delivery flags
See also setDeliveryFlags().
pub unsafe fn set_delivery_flags(&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)
.
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
.
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
.
Returns scene change type.
Trait Implementations
impl CppDeletable for QNodeDestroyedChange
[src]
unsafe fn delete(&self)
[src]
Destroys the instance of QNodeDestroyedChange.
Calls C++ function: virtual [destructor] void Qt3DCore::QNodeDestroyedChange::~QNodeDestroyedChange()
.
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 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)
.
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)
.
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)
.
Auto Trait Implementations
impl RefUnwindSafe for QNodeDestroyedChange
impl Send for QNodeDestroyedChange
impl Sync for QNodeDestroyedChange
impl Unpin for QNodeDestroyedChange
impl UnwindSafe for QNodeDestroyedChange
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>,