[][src]Struct qt_3d_core::QBackendNode

#[repr(C)]
pub struct QBackendNode { /* fields omitted */ }

The base class for all Qt3D backend nodes

C++ class: Qt3DCore::QBackendNode.

C++ documentation:

The base class for all Qt3D backend nodes

Methods

impl QBackendNode[src]

pub unsafe fn is_enabled(&self) -> bool[src]

Returns true if the backend node is enabled.

Calls C++ function: bool Qt3DCore::QBackendNode::isEnabled() const.

C++ documentation:

Returns true if the backend node is enabled.

pub unsafe fn mode(&self) -> Mode[src]

Returns the mode of the backend mode.

Calls C++ function: Qt3DCore::QBackendNode::Mode Qt3DCore::QBackendNode::mode() const.

C++ documentation:

Returns the mode of the backend mode.

pub unsafe fn new_1a(mode: Mode) -> CppBox<QBackendNode>[src]

Default constructs an instance of QBackendNode.

Calls C++ function: [constructor] void Qt3DCore::QBackendNode::QBackendNode(Qt3DCore::QBackendNode::Mode mode = …).

C++ documentation:

Default constructs an instance of QBackendNode.

pub unsafe fn new_0a() -> CppBox<QBackendNode>[src]

The base class for all Qt3D backend nodes

Calls C++ function: [constructor] void Qt3DCore::QBackendNode::QBackendNode().

C++ documentation:

The base class for all Qt3D backend nodes

pub unsafe fn peer_id(&self) -> CppBox<QNodeId>[src]

Returns the peer id of the backend node.

Calls C++ function: Qt3DCore::QNodeId Qt3DCore::QBackendNode::peerId() const.

C++ documentation:

Returns the peer id of the backend node.

pub unsafe fn set_enabled(&mut self, enabled: bool)[src]

Enables or disables the backend node by enabled.

Calls C++ function: void Qt3DCore::QBackendNode::setEnabled(bool enabled).

C++ documentation:

Enables or disables the backend node by enabled.

See also isEnabled().

Trait Implementations

impl CppDeletable for QBackendNode[src]

unsafe fn delete(&mut self)[src]

Destroys the instance of QBackendNode. The destructor is virtual.

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

C++ documentation:

Destroys the instance of QBackendNode. The destructor is virtual.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.