[−][src]Struct qt_3d_core::QNodeCreatedChangeBase
The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events
C++ class: Qt3DCore::QNodeCreatedChangeBase
.
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
.
Returns node enabled.
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Returns metaobject.
Calls C++ function: const QMetaObject* Qt3DCore::QNodeCreatedChangeBase::metaObject() const
.
Returns metaobject.
pub unsafe fn new(
node: impl CastInto<Ptr<QNode>>
) -> CppBox<QNodeCreatedChangeBase>
[src]
node: impl CastInto<Ptr<QNode>>
) -> CppBox<QNodeCreatedChangeBase>
Constructs a new QNodeCreatedChangeBase with node.
Calls C++ function: [constructor] void Qt3DCore::QNodeCreatedChangeBase::QNodeCreatedChangeBase(const Qt3DCore::QNode* node)
.
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
.
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
.
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)
.
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 QNodeCreatedChangeBase
[src]
unsafe fn delete(&self)
[src]
Destroys the instance of QNodeCreatedChangeBase.
Calls C++ function: virtual [destructor] void Qt3DCore::QNodeCreatedChangeBase::~QNodeCreatedChangeBase()
.
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
impl RefUnwindSafe for QNodeCreatedChangeBase
impl Send for QNodeCreatedChangeBase
impl Sync for QNodeCreatedChangeBase
impl Unpin for QNodeCreatedChangeBase
impl UnwindSafe for QNodeCreatedChangeBase
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]
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>,