[][src]Struct qt_3d_core::QNodeCreatedChangeBase

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

The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events

C++ class: Qt3DCore::QNodeCreatedChangeBase.

C++ documentation:

The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events

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

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

Methods

impl QNodeCreatedChangeBase[src]

pub unsafe fn is_node_enabled(&self) -> bool[src]

Returns node enabled.

Calls C++ function: bool Qt3DCore::QNodeCreatedChangeBase::isNodeEnabled() const.

C++ documentation:

Returns node enabled.

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Returns metaobject.

Calls C++ function: const QMetaObject* Qt3DCore::QNodeCreatedChangeBase::metaObject() const.

C++ documentation:

Returns metaobject.

pub unsafe fn new(
    node: impl CastInto<Ptr<QNode>>
) -> CppBox<QNodeCreatedChangeBase>
[src]

Constructs a new QNodeCreatedChangeBase with node.

Calls C++ function: [constructor] void Qt3DCore::QNodeCreatedChangeBase::QNodeCreatedChangeBase(const Qt3DCore::QNode* node).

C++ documentation:

Constructs a new QNodeCreatedChangeBase with node.

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

Returns parent id.

Calls C++ function: Qt3DCore::QNodeId Qt3DCore::QNodeCreatedChangeBase::parentId() const.

C++ documentation:

Returns parent id.

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(&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 QNodeCreatedChangeBase[src]

unsafe fn delete(&self)[src]

Destroys the instance of QNodeCreatedChangeBase.

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

C++ documentation:

Destroys the instance of QNodeCreatedChangeBase.

impl Deref for QNodeCreatedChangeBase[src]

type Target = QSceneChange

The resulting type after dereferencing.

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

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

impl DynamicCast<QNodeCreatedChangeBase> for QSceneChange[src]

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

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

impl StaticDowncast<QNodeCreatedChangeBase> for QSceneChange[src]

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

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

impl StaticUpcast<QSceneChange> for QNodeCreatedChangeBase[src]

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

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