#[repr(C)]pub struct QBackendNode { /* private fields */ }
Expand description
The base class for all Qt3D backend nodes
C++ class: Qt3DCore::QBackendNode
.
The base class for all Qt3D backend nodes
Implementations§
Source§impl QBackendNode
impl QBackendNode
Sourcepub unsafe fn is_enabled(&self) -> bool
pub unsafe fn is_enabled(&self) -> bool
Returns true
if the backend node is enabled.
Calls C++ function: bool Qt3DCore::QBackendNode::isEnabled() const
.
Returns true
if the backend node is enabled.
Sourcepub unsafe fn mode(&self) -> Mode
pub unsafe fn mode(&self) -> Mode
Returns the mode of the backend mode.
Calls C++ function: Qt3DCore::QBackendNode::Mode Qt3DCore::QBackendNode::mode() const
.
Returns the mode of the backend mode.
Sourcepub unsafe fn new_1a(mode: Mode) -> CppBox<QBackendNode>
pub unsafe fn new_1a(mode: Mode) -> CppBox<QBackendNode>
Default constructs an instance of QBackendNode.
Calls C++ function: [constructor] void Qt3DCore::QBackendNode::QBackendNode(Qt3DCore::QBackendNode::Mode mode = …)
.
Default constructs an instance of QBackendNode.
Sourcepub unsafe fn new_0a() -> CppBox<QBackendNode>
pub unsafe fn new_0a() -> CppBox<QBackendNode>
The base class for all Qt3D backend nodes
Calls C++ function: [constructor] void Qt3DCore::QBackendNode::QBackendNode()
.
The base class for all Qt3D backend nodes
Sourcepub unsafe fn peer_id(&self) -> CppBox<QNodeId>
pub unsafe fn peer_id(&self) -> CppBox<QNodeId>
Returns the peer id of the backend node.
Calls C++ function: Qt3DCore::QNodeId Qt3DCore::QBackendNode::peerId() const
.
Returns the peer id of the backend node.
Sourcepub unsafe fn set_enabled(&self, enabled: bool)
pub unsafe fn set_enabled(&self, enabled: bool)
Enables or disables the backend node by enabled.
Calls C++ function: void Qt3DCore::QBackendNode::setEnabled(bool enabled)
.
Enables or disables the backend node by enabled.
See also isEnabled().