[−][src]Struct qt_3d_core::QComponentRemovedChange
The QComponentRemovedChange class is used to notify when a component is removed from an entity
C++ class: Qt3DCore::QComponentRemovedChange
.
The QComponentRemovedChange class is used to notify when a component is removed from an entity
Methods
impl QComponentRemovedChange
[src]
pub unsafe fn component_id(&self) -> CppBox<QNodeId>
[src]
Returns the id of the component removed.
Calls C++ function: Qt3DCore::QNodeId Qt3DCore::QComponentRemovedChange::componentId() const
.
Returns the id of the component removed.
pub unsafe fn component_meta_object(&self) -> Ptr<QMetaObject>
[src]
Returns the metaobject.
Calls C++ function: const QMetaObject* Qt3DCore::QComponentRemovedChange::componentMetaObject() const
.
Returns the metaobject.
pub unsafe fn entity_id(&self) -> CppBox<QNodeId>
[src]
Returns the id of the entity the component was removed from.
Calls C++ function: Qt3DCore::QNodeId Qt3DCore::QComponentRemovedChange::entityId() const
.
Returns the id of the entity the component was removed from.
pub unsafe fn from_q_entity_q_component(
entity: impl CastInto<Ptr<QEntity>>,
component: impl CastInto<Ptr<QComponent>>
) -> CppBox<QComponentRemovedChange>
[src]
entity: impl CastInto<Ptr<QEntity>>,
component: impl CastInto<Ptr<QComponent>>
) -> CppBox<QComponentRemovedChange>
Constructs a new QComponentRemovedChange which will notify entity that component was removed.
Calls C++ function: [constructor] void Qt3DCore::QComponentRemovedChange::QComponentRemovedChange(const Qt3DCore::QEntity* entity, const Qt3DCore::QComponent* component)
.
Constructs a new QComponentRemovedChange which will notify entity that component was removed.
pub unsafe fn from_q_component_q_entity(
component: impl CastInto<Ptr<QComponent>>,
entity: impl CastInto<Ptr<QEntity>>
) -> CppBox<QComponentRemovedChange>
[src]
component: impl CastInto<Ptr<QComponent>>,
entity: impl CastInto<Ptr<QEntity>>
) -> CppBox<QComponentRemovedChange>
Constructs a new QComponentRemovedChange which will notify component that it was removed from entity
Calls C++ function: [constructor] void Qt3DCore::QComponentRemovedChange::QComponentRemovedChange(const Qt3DCore::QComponent* component, const Qt3DCore::QEntity* entity)
.
Constructs a new QComponentRemovedChange which will notify component that it was removed from entity
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(&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)
.
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 QComponentRemovedChange
[src]
unsafe fn delete(&mut self)
[src]
Destroys the instance of QComponentRemovedChange.
Calls C++ function: virtual [destructor] void Qt3DCore::QComponentRemovedChange::~QComponentRemovedChange()
.
Destroys the instance of QComponentRemovedChange.
impl Deref for QComponentRemovedChange
[src]
type Target = QSceneChange
The resulting type after dereferencing.
fn deref(&self) -> &QSceneChange
[src]
Calls C++ function: Qt3DCore::QSceneChange* static_cast<Qt3DCore::QSceneChange*>(Qt3DCore::QComponentRemovedChange* ptr)
.
impl DerefMut for QComponentRemovedChange
[src]
fn deref_mut(&mut self) -> &mut QSceneChange
[src]
Calls C++ function: Qt3DCore::QSceneChange* static_cast<Qt3DCore::QSceneChange*>(Qt3DCore::QComponentRemovedChange* ptr)
.
impl DynamicCast<QComponentRemovedChange> for QSceneChange
[src]
unsafe fn dynamic_cast(ptr: Ptr<QSceneChange>) -> Ptr<QComponentRemovedChange>
[src]
Calls C++ function: Qt3DCore::QComponentRemovedChange* dynamic_cast<Qt3DCore::QComponentRemovedChange*>(Qt3DCore::QSceneChange* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QSceneChange>
) -> MutPtr<QComponentRemovedChange>
[src]
ptr: MutPtr<QSceneChange>
) -> MutPtr<QComponentRemovedChange>
Calls C++ function: Qt3DCore::QComponentRemovedChange* dynamic_cast<Qt3DCore::QComponentRemovedChange*>(Qt3DCore::QSceneChange* ptr)
.
impl StaticDowncast<QComponentRemovedChange> for QSceneChange
[src]
unsafe fn static_downcast(
ptr: Ptr<QSceneChange>
) -> Ptr<QComponentRemovedChange>
[src]
ptr: Ptr<QSceneChange>
) -> Ptr<QComponentRemovedChange>
Calls C++ function: Qt3DCore::QComponentRemovedChange* static_cast<Qt3DCore::QComponentRemovedChange*>(Qt3DCore::QSceneChange* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QSceneChange>
) -> MutPtr<QComponentRemovedChange>
[src]
ptr: MutPtr<QSceneChange>
) -> MutPtr<QComponentRemovedChange>
Calls C++ function: Qt3DCore::QComponentRemovedChange* static_cast<Qt3DCore::QComponentRemovedChange*>(Qt3DCore::QSceneChange* ptr)
.
impl StaticUpcast<QSceneChange> for QComponentRemovedChange
[src]
unsafe fn static_upcast(ptr: Ptr<QComponentRemovedChange>) -> Ptr<QSceneChange>
[src]
Calls C++ function: Qt3DCore::QSceneChange* static_cast<Qt3DCore::QSceneChange*>(Qt3DCore::QComponentRemovedChange* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QComponentRemovedChange>
) -> MutPtr<QSceneChange>
[src]
ptr: MutPtr<QComponentRemovedChange>
) -> MutPtr<QSceneChange>
Calls C++ function: Qt3DCore::QSceneChange* static_cast<Qt3DCore::QSceneChange*>(Qt3DCore::QComponentRemovedChange* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QComponentRemovedChange
impl Send for QComponentRemovedChange
impl Sync for QComponentRemovedChange
impl Unpin for QComponentRemovedChange
impl UnwindSafe for QComponentRemovedChange
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<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>,