[][src]Struct qt_3d_render::QAbstractFunctor

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

QAbstractFunctor is an abstract base class for all functors.

C++ class: Qt3DRender::QAbstractFunctor.

C++ documentation:

QAbstractFunctor is an abstract base class for all functors.

The QAbstractFunctor is used as a base class for all functors and data generators in Qt3DRender module.

When user defines a new functor or generator, they need to implement the QAbstractFunctor::id() method, which should be done using the QT3D_FUNCTOR macro in the class definition.

Methods

impl QAbstractFunctor[src]

pub unsafe fn id(&self) -> isize[src]

Returns a pointer to the id of the functor.

Calls C++ function: pure virtual qintptr Qt3DRender::QAbstractFunctor::id() const.

C++ documentation:

Returns a pointer to the id of the functor.

Trait Implementations

impl CppDeletable for QAbstractFunctor[src]

unsafe fn delete(&self)[src]

Desctructor

Calls C++ function: virtual [destructor] void Qt3DRender::QAbstractFunctor::~QAbstractFunctor().

C++ documentation:

Desctructor

impl DynamicCast<QBufferDataGenerator> for QAbstractFunctor[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractFunctor>) -> Ptr<QBufferDataGenerator>[src]

Calls C++ function: Qt3DRender::QBufferDataGenerator* dynamic_cast<Qt3DRender::QBufferDataGenerator*>(Qt3DRender::QAbstractFunctor* ptr).

impl DynamicCast<QGeometryFactory> for QAbstractFunctor[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractFunctor>) -> Ptr<QGeometryFactory>[src]

Calls C++ function: Qt3DRender::QGeometryFactory* dynamic_cast<Qt3DRender::QGeometryFactory*>(Qt3DRender::QAbstractFunctor* ptr).

impl DynamicCast<QTextureGenerator> for QAbstractFunctor[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractFunctor>) -> Ptr<QTextureGenerator>[src]

Calls C++ function: Qt3DRender::QTextureGenerator* dynamic_cast<Qt3DRender::QTextureGenerator*>(Qt3DRender::QAbstractFunctor* ptr).

impl DynamicCast<QTextureImageDataGenerator> for QAbstractFunctor[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QAbstractFunctor>
) -> Ptr<QTextureImageDataGenerator>
[src]

Calls C++ function: Qt3DRender::QTextureImageDataGenerator* dynamic_cast<Qt3DRender::QTextureImageDataGenerator*>(Qt3DRender::QAbstractFunctor* ptr).

impl StaticDowncast<QBufferDataGenerator> for QAbstractFunctor[src]

unsafe fn static_downcast(
    ptr: Ptr<QAbstractFunctor>
) -> Ptr<QBufferDataGenerator>
[src]

Calls C++ function: Qt3DRender::QBufferDataGenerator* static_cast<Qt3DRender::QBufferDataGenerator*>(Qt3DRender::QAbstractFunctor* ptr).

impl StaticDowncast<QGeometryFactory> for QAbstractFunctor[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractFunctor>) -> Ptr<QGeometryFactory>[src]

Calls C++ function: Qt3DRender::QGeometryFactory* static_cast<Qt3DRender::QGeometryFactory*>(Qt3DRender::QAbstractFunctor* ptr).

impl StaticDowncast<QTextureGenerator> for QAbstractFunctor[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractFunctor>) -> Ptr<QTextureGenerator>[src]

Calls C++ function: Qt3DRender::QTextureGenerator* static_cast<Qt3DRender::QTextureGenerator*>(Qt3DRender::QAbstractFunctor* ptr).

impl StaticDowncast<QTextureImageDataGenerator> for QAbstractFunctor[src]

unsafe fn static_downcast(
    ptr: Ptr<QAbstractFunctor>
) -> Ptr<QTextureImageDataGenerator>
[src]

Calls C++ function: Qt3DRender::QTextureImageDataGenerator* static_cast<Qt3DRender::QTextureImageDataGenerator*>(Qt3DRender::QAbstractFunctor* ptr).

impl StaticUpcast<QAbstractFunctor> for QTextureImageDataGenerator[src]

unsafe fn static_upcast(
    ptr: Ptr<QTextureImageDataGenerator>
) -> Ptr<QAbstractFunctor>
[src]

Calls C++ function: Qt3DRender::QAbstractFunctor* static_cast<Qt3DRender::QAbstractFunctor*>(Qt3DRender::QTextureImageDataGenerator* ptr).

impl StaticUpcast<QAbstractFunctor> for QBufferDataGenerator[src]

unsafe fn static_upcast(ptr: Ptr<QBufferDataGenerator>) -> Ptr<QAbstractFunctor>[src]

Calls C++ function: Qt3DRender::QAbstractFunctor* static_cast<Qt3DRender::QAbstractFunctor*>(Qt3DRender::QBufferDataGenerator* ptr).

impl StaticUpcast<QAbstractFunctor> for QGeometryFactory[src]

unsafe fn static_upcast(ptr: Ptr<QGeometryFactory>) -> Ptr<QAbstractFunctor>[src]

Calls C++ function: Qt3DRender::QAbstractFunctor* static_cast<Qt3DRender::QAbstractFunctor*>(Qt3DRender::QGeometryFactory* ptr).

impl StaticUpcast<QAbstractFunctor> for QTextureGenerator[src]

unsafe fn static_upcast(ptr: Ptr<QTextureGenerator>) -> Ptr<QAbstractFunctor>[src]

Calls C++ function: Qt3DRender::QAbstractFunctor* static_cast<Qt3DRender::QAbstractFunctor*>(Qt3DRender::QTextureGenerator* ptr).

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.