Struct QPropertyNodeAddedChange

Source
#[repr(C)]
pub struct QPropertyNodeAddedChange { /* private fields */ }
Expand description

Used to notify when a node is added to a property

C++ class: Qt3DCore::QPropertyNodeAddedChange.

C++ documentation:

Used to notify when a node is added to a property

Implementations§

Source§

impl QPropertyNodeAddedChange

Source

pub unsafe fn added_node_id(&self) -> CppBox<QNodeId>

Returns the id of the node added to the property.

Calls C++ function: Qt3DCore::QNodeId Qt3DCore::QPropertyNodeAddedChange::addedNodeId() const.

C++ documentation:

Returns the id of the node added to the property.

Source

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

Returns the meta object of the node added to the property.

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

C++ documentation:

Returns the meta object of the node added to the property.

Source

pub unsafe fn new( subject_id: impl CastInto<Ref<QNodeId>>, node: impl CastInto<Ptr<QNode>>, ) -> CppBox<QPropertyNodeAddedChange>

Constructs a new QPropertyNodeAddedChange with subjectId, node.

Calls C++ function: [constructor] void Qt3DCore::QPropertyNodeAddedChange::QPropertyNodeAddedChange(Qt3DCore::QNodeId subjectId, Qt3DCore::QNode* node).

C++ documentation:

Constructs a new QPropertyNodeAddedChange with subjectId, node.

Methods from Deref<Target = QStaticPropertyValueAddedChangeBase>§

Source

pub unsafe fn property_name(&self) -> *const c_char

Returns name of the property.

Calls C++ function: const char* Qt3DCore::QStaticPropertyValueAddedChangeBase::propertyName() const.

C++ documentation:

Returns name of the property.

See also setPropertyName().

Source

pub unsafe fn set_property_name(&self, name: *const c_char)

Sets the property change name.

Calls C++ function: void Qt3DCore::QStaticPropertyValueAddedChangeBase::setPropertyName(const char* name).

C++ documentation:

Sets the property change name.

See also propertyName().

Methods from Deref<Target = QSceneChange>§

Source

pub unsafe fn delivery_flags(&self) -> QFlags<DeliveryFlag>

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

Source

pub unsafe fn set_delivery_flags(&self, flags: QFlags<DeliveryFlag>)

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

Source

pub unsafe fn subject_id(&self) -> CppBox<QNodeId>

Returns scene change subject id.

Calls C++ function: Qt3DCore::QNodeId Qt3DCore::QSceneChange::subjectId() const.

C++ documentation:

Returns scene change subject id.

Source

pub unsafe fn type_(&self) -> ChangeFlag

Returns scene change type.

Calls C++ function: Qt3DCore::ChangeFlag Qt3DCore::QSceneChange::type() const.

C++ documentation:

Returns scene change type.

Trait Implementations§

Source§

impl CppDeletable for QPropertyNodeAddedChange

Source§

unsafe fn delete(&self)

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

Source§

impl Deref for QPropertyNodeAddedChange

Source§

fn deref(&self) -> &QStaticPropertyValueAddedChangeBase

Calls C++ function: Qt3DCore::QStaticPropertyValueAddedChangeBase* static_cast<Qt3DCore::QStaticPropertyValueAddedChangeBase*>(Qt3DCore::QPropertyNodeAddedChange* ptr).

Source§

type Target = QStaticPropertyValueAddedChangeBase

The resulting type after dereferencing.
Source§

impl DynamicCast<QPropertyNodeAddedChange> for QPropertyValueAddedChangeBase

Source§

unsafe fn dynamic_cast( ptr: Ptr<QPropertyValueAddedChangeBase>, ) -> Ptr<QPropertyNodeAddedChange>

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* dynamic_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QPropertyValueAddedChangeBase* ptr).

Source§

impl DynamicCast<QPropertyNodeAddedChange> for QSceneChange

Source§

unsafe fn dynamic_cast(ptr: Ptr<QSceneChange>) -> Ptr<QPropertyNodeAddedChange>

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

Source§

impl DynamicCast<QPropertyNodeAddedChange> for QStaticPropertyValueAddedChangeBase

Source§

unsafe fn dynamic_cast( ptr: Ptr<QStaticPropertyValueAddedChangeBase>, ) -> Ptr<QPropertyNodeAddedChange>

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* dynamic_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QStaticPropertyValueAddedChangeBase* ptr).

Source§

impl StaticDowncast<QPropertyNodeAddedChange> for QPropertyValueAddedChangeBase

Source§

unsafe fn static_downcast( ptr: Ptr<QPropertyValueAddedChangeBase>, ) -> Ptr<QPropertyNodeAddedChange>

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* static_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QPropertyValueAddedChangeBase* ptr).

Source§

impl StaticDowncast<QPropertyNodeAddedChange> for QSceneChange

Source§

unsafe fn static_downcast( ptr: Ptr<QSceneChange>, ) -> Ptr<QPropertyNodeAddedChange>

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

Source§

impl StaticDowncast<QPropertyNodeAddedChange> for QStaticPropertyValueAddedChangeBase

Source§

unsafe fn static_downcast( ptr: Ptr<QStaticPropertyValueAddedChangeBase>, ) -> Ptr<QPropertyNodeAddedChange>

Calls C++ function: Qt3DCore::QPropertyNodeAddedChange* static_cast<Qt3DCore::QPropertyNodeAddedChange*>(Qt3DCore::QStaticPropertyValueAddedChangeBase* ptr).

Source§

impl StaticUpcast<QPropertyValueAddedChangeBase> for QPropertyNodeAddedChange

Source§

unsafe fn static_upcast( ptr: Ptr<QPropertyNodeAddedChange>, ) -> Ptr<QPropertyValueAddedChangeBase>

Calls C++ function: Qt3DCore::QPropertyValueAddedChangeBase* static_cast<Qt3DCore::QPropertyValueAddedChangeBase*>(Qt3DCore::QPropertyNodeAddedChange* ptr).

Source§

impl StaticUpcast<QSceneChange> for QPropertyNodeAddedChange

Source§

unsafe fn static_upcast(ptr: Ptr<QPropertyNodeAddedChange>) -> Ptr<QSceneChange>

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

Source§

impl StaticUpcast<QStaticPropertyValueAddedChangeBase> for QPropertyNodeAddedChange

Source§

unsafe fn static_upcast( ptr: Ptr<QPropertyNodeAddedChange>, ) -> Ptr<QStaticPropertyValueAddedChangeBase>

Calls C++ function: Qt3DCore::QStaticPropertyValueAddedChangeBase* static_cast<Qt3DCore::QStaticPropertyValueAddedChangeBase*>(Qt3DCore::QPropertyNodeAddedChange* ptr).

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.