[][src]Struct qt_3d_core::QComponentRemovedChange

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

The QComponentRemovedChange class is used to notify when a component is removed from an entity

C++ class: Qt3DCore::QComponentRemovedChange.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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]

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).

C++ documentation:

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]

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).

C++ documentation:

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.

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

unsafe fn delete(&mut self)[src]

Destroys the instance of QComponentRemovedChange.

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

C++ documentation:

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]

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]

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

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

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]

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