Struct QStaticPropertyValueAddedChangeBase

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

The QStaticPropertyValueAddedChangeBase class is the base class for all static PropertyValueAdded QSceneChange events

C++ class: Qt3DCore::QStaticPropertyValueAddedChangeBase.

C++ documentation:

The QStaticPropertyValueAddedChangeBase class is the base class for all static PropertyValueAdded QSceneChange events

Implementations§

Source§

impl 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 QStaticPropertyValueAddedChangeBase

Source§

unsafe fn delete(&self)

Destroys the instance of QStaticPropertyValueAddedChangeBase.

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

C++ documentation:

Destroys the instance of QStaticPropertyValueAddedChangeBase.

Source§

impl Deref for QStaticPropertyValueAddedChangeBase

Source§

fn deref(&self) -> &QPropertyValueAddedChangeBase

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

Source§

type Target = QPropertyValueAddedChangeBase

The resulting type after dereferencing.
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 DynamicCast<QPropertyValueAddedChange> for QStaticPropertyValueAddedChangeBase

Source§

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

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

Source§

impl DynamicCast<QStaticPropertyValueAddedChangeBase> for QPropertyValueAddedChangeBase

Source§

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

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

Source§

impl DynamicCast<QStaticPropertyValueAddedChangeBase> for QSceneChange

Source§

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

Calls C++ function: Qt3DCore::QStaticPropertyValueAddedChangeBase* dynamic_cast<Qt3DCore::QStaticPropertyValueAddedChangeBase*>(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 StaticDowncast<QPropertyValueAddedChange> for QStaticPropertyValueAddedChangeBase

Source§

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

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

Source§

impl StaticDowncast<QStaticPropertyValueAddedChangeBase> for QPropertyValueAddedChangeBase

Source§

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

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

Source§

impl StaticDowncast<QStaticPropertyValueAddedChangeBase> for QSceneChange

Source§

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

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

Source§

impl StaticUpcast<QPropertyValueAddedChangeBase> for QStaticPropertyValueAddedChangeBase

Source§

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

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

Source§

impl StaticUpcast<QSceneChange> for QStaticPropertyValueAddedChangeBase

Source§

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

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

Source§

impl StaticUpcast<QStaticPropertyValueAddedChangeBase> for QPropertyValueAddedChange

Source§

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

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