[−][src]Struct qt_3d_core::QEntity
Qt3DCore::QEntity is a Qt3DCore::QNode subclass that can aggregate several Qt3DCore::QComponent instances that will specify its behavior.
C++ class: Qt3DCore::QEntity
.
Qt3DCore::QEntity is a Qt3DCore::QNode subclass that can aggregate several Qt3DCore::QComponent instances that will specify its behavior.
By itself a Qt3DCore::QEntity is an empty shell. The behavior of a Qt3DCore::QEntity object is defined by the Qt3DCore::QComponent objects it references. Each Qt3D backend aspect will be able to interpret and process an Entity by recognizing which components it is made up of. One aspect may decide to only process entities composed of a single Qt3DCore::QTransform component whilst another may focus on Qt3DInput::QMouseHandler.
Methods
impl QEntity
[src]
pub unsafe fn add_component(&mut self, comp: impl CastInto<MutPtr<QComponent>>)
[src]
Adds a new reference to the component comp.
Calls C++ function: void Qt3DCore::QEntity::addComponent(Qt3DCore::QComponent* comp)
.
Adds a new reference to the component comp.
Note: If the Qt3DCore::QComponent has no parent, the Qt3DCore::QEntity will set itself as its parent thereby taking ownership of the component.
pub unsafe fn components(&self) -> CppBox<QVectorOfQComponent>
[src]
Returns the list of Qt3DCore::QComponent instances the entity is referencing.
Calls C++ function: QVector<Qt3DCore::QComponent*> Qt3DCore::QEntity::components() const
.
Returns the list of Qt3DCore::QComponent instances the entity is referencing.
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DCore::QEntity::metaObject() const
.
pub unsafe fn new_1a(parent: impl CastInto<MutPtr<QNode>>) -> QBox<QEntity>
[src]
Constructs a new Qt3DCore::QEntity instance with parent as parent.
Calls C++ function: [constructor] void Qt3DCore::QEntity::QEntity(Qt3DCore::QNode* parent = …)
.
Constructs a new Qt3DCore::QEntity instance with parent as parent.
pub unsafe fn new_0a() -> QBox<QEntity>
[src]
Qt3DCore::QEntity is a Qt3DCore::QNode subclass that can aggregate several Qt3DCore::QComponent instances that will specify its behavior.
Calls C++ function: [constructor] void Qt3DCore::QEntity::QEntity()
.
Qt3DCore::QEntity is a Qt3DCore::QNode subclass that can aggregate several Qt3DCore::QComponent instances that will specify its behavior.
By itself a Qt3DCore::QEntity is an empty shell. The behavior of a Qt3DCore::QEntity object is defined by the Qt3DCore::QComponent objects it references. Each Qt3D backend aspect will be able to interpret and process an Entity by recognizing which components it is made up of. One aspect may decide to only process entities composed of a single Qt3DCore::QTransform component whilst another may focus on Qt3DInput::QMouseHandler.
pub unsafe fn parent_entity(&self) -> QMutPtr<QEntity>
[src]
Returns the parent Qt3DCore::QEntity instance of this entity. If the immediate parent isn't a Qt3DCore::QEntity, this function traverses up the scene hierarchy until a parent Qt3DCore::QEntity is found. If no Qt3DCore::QEntity parent can be found, returns null.
Calls C++ function: Qt3DCore::QEntity* Qt3DCore::QEntity::parentEntity() const
.
Returns the parent Qt3DCore::QEntity instance of this entity. If the immediate parent isn't a Qt3DCore::QEntity, this function traverses up the scene hierarchy until a parent Qt3DCore::QEntity is found. If no Qt3DCore::QEntity parent can be found, returns null.
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int Qt3DCore::QEntity::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DCore::QEntity::qt_metacast(const char* arg1)
.
pub unsafe fn remove_component(
&mut self,
comp: impl CastInto<MutPtr<QComponent>>
)
[src]
&mut self,
comp: impl CastInto<MutPtr<QComponent>>
)
Removes the reference to comp.
Calls C++ function: void Qt3DCore::QEntity::removeComponent(Qt3DCore::QComponent* comp)
.
Removes the reference to comp.
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
pub unsafe fn tr(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DCore::QEntity::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DCore::QEntity::trUtf8(const char* s, const char* c, int n)
.
Methods from Deref<Target = QNode>
pub fn slot_set_parent(&self) -> Receiver<(*mut QNode,)>
[src]
Holds the immediate QNode parent, or null if the node has no parent.
Returns a built-in Qt slot Qt3DCore::QNode::setParent
that can be passed to qt_core::Signal::connect
.
Holds the immediate QNode parent, or null if the node has no parent.
Setting the parent will notify the backend aspects about current QNode instance's parent change.
Note: if parent happens to be null, this will actually notify that the current QNode instance was removed from the scene.
Access functions:
QNode * | parentNode() const |
void | setParent(QNode *parent) |
Notifier signal:
void | parentChanged(QObject *parent) |
pub fn slot_set_enabled(&self) -> Receiver<(bool,)>
[src]
Holds the QNode enabled flag. By default a QNode is always enabled.
Returns a built-in Qt slot Qt3DCore::QNode::setEnabled
that can be passed to qt_core::Signal::connect
.
Holds the QNode enabled flag. By default a QNode is always enabled.
Note: the interpretation of what enabled means is aspect-dependent. Even if enabled is set to false
, some aspects may still consider the node in some manner. This is documented on a class by class basis.
Access functions:
bool | isEnabled() const |
void | setEnabled(bool isEnabled) |
Notifier signal:
void | enabledChanged(bool enabled) |
pub fn slot_set_default_property_tracking_mode(
&self
) -> Receiver<(PropertyTrackingMode,)>
[src]
&self
) -> Receiver<(PropertyTrackingMode,)>
Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.
Returns a built-in Qt slot Qt3DCore::QNode::setDefaultPropertyTrackingMode
that can be passed to qt_core::Signal::connect
.
Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.
By default it is set to QNode::TrackFinalValues
Access functions:
PropertyTrackingMode | defaultPropertyTrackingMode() const |
void | setDefaultPropertyTrackingMode(PropertyTrackingMode mode) |
Notifier signal:
void | defaultPropertyTrackingModeChanged(PropertyTrackingMode mode) |
pub fn parent_changed(&self) -> Signal<(*mut QObject,)>
[src]
Holds the immediate QNode parent, or null if the node has no parent.
Returns a built-in Qt signal Qt3DCore::QNode::parentChanged
that can be passed to qt_core::Signal::connect
.
Holds the immediate QNode parent, or null if the node has no parent.
Setting the parent will notify the backend aspects about current QNode instance's parent change.
Note: if parent happens to be null, this will actually notify that the current QNode instance was removed from the scene.
Access functions:
QNode * | parentNode() const |
void | setParent(QNode *parent) |
Notifier signal:
void | parentChanged(QObject *parent) |
pub fn enabled_changed(&self) -> Signal<(bool,)>
[src]
Holds the QNode enabled flag. By default a QNode is always enabled.
Returns a built-in Qt signal Qt3DCore::QNode::enabledChanged
that can be passed to qt_core::Signal::connect
.
Holds the QNode enabled flag. By default a QNode is always enabled.
Note: the interpretation of what enabled means is aspect-dependent. Even if enabled is set to false
, some aspects may still consider the node in some manner. This is documented on a class by class basis.
Access functions:
bool | isEnabled() const |
void | setEnabled(bool isEnabled) |
Notifier signal:
void | enabledChanged(bool enabled) |
pub fn default_property_tracking_mode_changed(
&self
) -> Signal<(PropertyTrackingMode,)>
[src]
&self
) -> Signal<(PropertyTrackingMode,)>
Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.
Returns a built-in Qt signal Qt3DCore::QNode::defaultPropertyTrackingModeChanged
that can be passed to qt_core::Signal::connect
.
Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.
By default it is set to QNode::TrackFinalValues
Access functions:
PropertyTrackingMode | defaultPropertyTrackingMode() const |
void | setDefaultPropertyTrackingMode(PropertyTrackingMode mode) |
Notifier signal:
void | defaultPropertyTrackingModeChanged(PropertyTrackingMode mode) |
pub fn node_destroyed(&self) -> Signal<()>
[src]
emitted when the node is destroyed.
Returns a built-in Qt signal Qt3DCore::QNode::nodeDestroyed
that can be passed to qt_core::Signal::connect
.
emitted when the node is destroyed.
pub unsafe fn block_notifications(&mut self, block: bool) -> bool
[src]
If block is true
, property change notifications sent by this object to aspects are blocked. If block is false
, no such blocking will occur.
Calls C++ function: bool Qt3DCore::QNode::blockNotifications(bool block)
.
If block is true
, property change notifications sent by this object to aspects are blocked. If block is false
, no such blocking will occur.
The return value is the previous value of notificationsBlocked().
Note that the other notification types will be sent even if the notifications for this object have been blocked.
See also notificationsBlocked().
pub unsafe fn child_nodes(&self) -> CppBox<QVectorOfQNode>
[src]
Returns a list filled with the QNode children of the current QNode instance.
Calls C++ function: QVector<Qt3DCore::QNode*> Qt3DCore::QNode::childNodes() const
.
pub unsafe fn clear_property_tracking(
&mut self,
property_name: impl CastInto<Ref<QString>>
)
[src]
&mut self,
property_name: impl CastInto<Ref<QString>>
)
Clears the tracking property called propertyName.
Calls C++ function: void Qt3DCore::QNode::clearPropertyTracking(const QString& propertyName)
.
Clears the tracking property called propertyName.
pub unsafe fn clear_property_trackings(&mut self)
[src]
Erases all values that have been saved by the property tracking.
Calls C++ function: void Qt3DCore::QNode::clearPropertyTrackings()
.
Erases all values that have been saved by the property tracking.
pub unsafe fn default_property_tracking_mode(&self) -> PropertyTrackingMode
[src]
Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.
Calls C++ function: Qt3DCore::QNode::PropertyTrackingMode Qt3DCore::QNode::defaultPropertyTrackingMode() const
.
Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.
By default it is set to QNode::TrackFinalValues
Access functions:
PropertyTrackingMode | defaultPropertyTrackingMode() const |
void | setDefaultPropertyTrackingMode(PropertyTrackingMode mode) |
Notifier signal:
void | defaultPropertyTrackingModeChanged(PropertyTrackingMode mode) |
pub unsafe fn id(&self) -> CppBox<QNodeId>
[src]
Returns the id that uniquely identifies the QNode instance.
Calls C++ function: Qt3DCore::QNodeId Qt3DCore::QNode::id() const
.
Returns the id that uniquely identifies the QNode instance.
pub unsafe fn is_enabled(&self) -> bool
[src]
Holds the QNode enabled flag. By default a QNode is always enabled.
Calls C++ function: bool Qt3DCore::QNode::isEnabled() const
.
Holds the QNode enabled flag. By default a QNode is always enabled.
Note: the interpretation of what enabled means is aspect-dependent. Even if enabled is set to false
, some aspects may still consider the node in some manner. This is documented on a class by class basis.
Access functions:
bool | isEnabled() const |
void | setEnabled(bool isEnabled) |
Notifier signal:
void | enabledChanged(bool enabled) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DCore::QNode::metaObject() const
.
pub unsafe fn notifications_blocked(&self) -> bool
[src]
Returns true
if aspect notifications are blocked; otherwise returns false
. By default, notifications are not blocked.
Calls C++ function: bool Qt3DCore::QNode::notificationsBlocked() const
.
Returns true
if aspect notifications are blocked; otherwise returns false
. By default, notifications are not blocked.
See also blockNotifications().
pub unsafe fn parent_node(&self) -> QMutPtr<QNode>
[src]
Holds the immediate QNode parent, or null if the node has no parent.
Calls C++ function: Qt3DCore::QNode* Qt3DCore::QNode::parentNode() const
.
Holds the immediate QNode parent, or null if the node has no parent.
Setting the parent will notify the backend aspects about current QNode instance's parent change.
Note: if parent happens to be null, this will actually notify that the current QNode instance was removed from the scene.
Access functions:
QNode * | parentNode() const |
void | setParent(QNode *parent) |
Notifier signal:
void | parentChanged(QObject *parent) |
pub unsafe fn property_tracking(
&self,
property_name: impl CastInto<Ref<QString>>
) -> PropertyTrackingMode
[src]
&self,
property_name: impl CastInto<Ref<QString>>
) -> PropertyTrackingMode
See also setPropertyTracking().
Calls C++ function: Qt3DCore::QNode::PropertyTrackingMode Qt3DCore::QNode::propertyTracking(const QString& propertyName) const
.
See also setPropertyTracking().
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int Qt3DCore::QNode::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DCore::QNode::qt_metacast(const char* arg1)
.
pub unsafe fn send_command_3a(
&mut self,
name: impl CastInto<Ref<QString>>,
data: impl CastInto<Ref<QVariant>>,
reply_to: c_ulonglong
) -> c_ulonglong
[src]
&mut self,
name: impl CastInto<Ref<QString>>,
data: impl CastInto<Ref<QVariant>>,
reply_to: c_ulonglong
) -> c_ulonglong
Sends a command messages to the backend node
Calls C++ function: unsigned long long Qt3DCore::QNode::sendCommand(const QString& name, const QVariant& data = …, unsigned long long replyTo = …)
.
Sends a command messages to the backend node
Creates a QNodeCommand message and dispatches it to the backend node. The command is given and a name and some data which can be used in the backend node to performe various operations. This returns a CommandId which can be used to identify the initial command when receiving a message in reply. If the command message is to be sent in reply to another command, replyTo contains the id of that command.
See also QNodeCommand and QNode::sendReply.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn send_command_2a(
&mut self,
name: impl CastInto<Ref<QString>>,
data: impl CastInto<Ref<QVariant>>
) -> c_ulonglong
[src]
&mut self,
name: impl CastInto<Ref<QString>>,
data: impl CastInto<Ref<QVariant>>
) -> c_ulonglong
Sends a command messages to the backend node
Calls C++ function: unsigned long long Qt3DCore::QNode::sendCommand(const QString& name, const QVariant& data = …)
.
Sends a command messages to the backend node
Creates a QNodeCommand message and dispatches it to the backend node. The command is given and a name and some data which can be used in the backend node to performe various operations. This returns a CommandId which can be used to identify the initial command when receiving a message in reply. If the command message is to be sent in reply to another command, replyTo contains the id of that command.
See also QNodeCommand and QNode::sendReply.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn send_command_1a(
&mut self,
name: impl CastInto<Ref<QString>>
) -> c_ulonglong
[src]
&mut self,
name: impl CastInto<Ref<QString>>
) -> c_ulonglong
Sends a command messages to the backend node
Calls C++ function: unsigned long long Qt3DCore::QNode::sendCommand(const QString& name)
.
Sends a command messages to the backend node
Creates a QNodeCommand message and dispatches it to the backend node. The command is given and a name and some data which can be used in the backend node to performe various operations. This returns a CommandId which can be used to identify the initial command when receiving a message in reply. If the command message is to be sent in reply to another command, replyTo contains the id of that command.
See also QNodeCommand and QNode::sendReply.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn set_default_property_tracking_mode(
&mut self,
mode: PropertyTrackingMode
)
[src]
&mut self,
mode: PropertyTrackingMode
)
Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.
Calls C++ function: [slot] void Qt3DCore::QNode::setDefaultPropertyTrackingMode(Qt3DCore::QNode::PropertyTrackingMode mode)
.
Holds the default property tracking mode which determines whether a QNode should be listening for property updates. This only applies to properties which haven't been overridden by a call to setPropertyTracking.
By default it is set to QNode::TrackFinalValues
Access functions:
PropertyTrackingMode | defaultPropertyTrackingMode() const |
void | setDefaultPropertyTrackingMode(PropertyTrackingMode mode) |
Notifier signal:
void | defaultPropertyTrackingModeChanged(PropertyTrackingMode mode) |
pub unsafe fn set_enabled(&mut self, is_enabled: bool)
[src]
Holds the QNode enabled flag. By default a QNode is always enabled.
Calls C++ function: [slot] void Qt3DCore::QNode::setEnabled(bool isEnabled)
.
Holds the QNode enabled flag. By default a QNode is always enabled.
Note: the interpretation of what enabled means is aspect-dependent. Even if enabled is set to false
, some aspects may still consider the node in some manner. This is documented on a class by class basis.
Access functions:
bool | isEnabled() const |
void | setEnabled(bool isEnabled) |
Notifier signal:
void | enabledChanged(bool enabled) |
pub unsafe fn set_parent(&mut self, parent: impl CastInto<MutPtr<QNode>>)
[src]
Holds the immediate QNode parent, or null if the node has no parent.
Calls C++ function: [slot] void Qt3DCore::QNode::setParent(Qt3DCore::QNode* parent)
.
Holds the immediate QNode parent, or null if the node has no parent.
Setting the parent will notify the backend aspects about current QNode instance's parent change.
Note: if parent happens to be null, this will actually notify that the current QNode instance was removed from the scene.
Access functions:
QNode * | parentNode() const |
void | setParent(QNode *parent) |
Notifier signal:
void | parentChanged(QObject *parent) |
pub unsafe fn set_property_tracking(
&mut self,
property_name: impl CastInto<Ref<QString>>,
track_mode: PropertyTrackingMode
)
[src]
&mut self,
property_name: impl CastInto<Ref<QString>>,
track_mode: PropertyTrackingMode
)
See also propertyTracking().
Calls C++ function: void Qt3DCore::QNode::setPropertyTracking(const QString& propertyName, Qt3DCore::QNode::PropertyTrackingMode trackMode)
.
See also propertyTracking().
Trait Implementations
impl CppDeletable for QEntity
[src]
unsafe fn delete(&mut self)
[src]
Destroys the instance of QEntity. The destructor is virtual.
Calls C++ function: virtual [destructor] void Qt3DCore::QEntity::~QEntity()
.
Destroys the instance of QEntity. The destructor is virtual.
impl Deref for QEntity
[src]
type Target = QNode
The resulting type after dereferencing.
fn deref(&self) -> &QNode
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DCore::QEntity* ptr)
.
impl DerefMut for QEntity
[src]
fn deref_mut(&mut self) -> &mut QNode
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DCore::QEntity* ptr)
.
impl DynamicCast<QEntity> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QEntity>
[src]
Calls C++ function: Qt3DCore::QEntity* dynamic_cast<Qt3DCore::QEntity*>(Qt3DCore::QNode* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<QEntity>
[src]
Calls C++ function: Qt3DCore::QEntity* dynamic_cast<Qt3DCore::QEntity*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QEntity> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QEntity>
[src]
Calls C++ function: Qt3DCore::QEntity* dynamic_cast<Qt3DCore::QEntity*>(QObject* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QEntity>
[src]
Calls C++ function: Qt3DCore::QEntity* dynamic_cast<Qt3DCore::QEntity*>(QObject* ptr)
.
impl StaticDowncast<QEntity> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QEntity>
[src]
Calls C++ function: Qt3DCore::QEntity* static_cast<Qt3DCore::QEntity*>(Qt3DCore::QNode* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<QEntity>
[src]
Calls C++ function: Qt3DCore::QEntity* static_cast<Qt3DCore::QEntity*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QEntity> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QEntity>
[src]
Calls C++ function: Qt3DCore::QEntity* static_cast<Qt3DCore::QEntity*>(QObject* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QEntity>
[src]
Calls C++ function: Qt3DCore::QEntity* static_cast<Qt3DCore::QEntity*>(QObject* ptr)
.
impl StaticUpcast<QNode> for QEntity
[src]
unsafe fn static_upcast(ptr: Ptr<QEntity>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DCore::QEntity* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QEntity>) -> MutPtr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DCore::QEntity* ptr)
.
impl StaticUpcast<QObject> for QEntity
[src]
Auto Trait Implementations
impl RefUnwindSafe for QEntity
impl Send for QEntity
impl Sync for QEntity
impl Unpin for QEntity
impl UnwindSafe for QEntity
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<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>,