[][src]Struct qt_3d_render::QGeometryFactory

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

C++ class: Qt3DRender::QGeometryFactory.

Methods

impl QGeometryFactory[src]

pub unsafe fn call(&mut self) -> QMutPtr<QGeometry>[src]

Returns the generated geometry.

Calls C++ function: pure virtual Qt3DRender::QGeometry* Qt3DRender::QGeometryFactory::operator()().

C++ documentation:

Returns the generated geometry.

Methods from Deref<Target = QAbstractFunctor>

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 QGeometryFactory[src]

unsafe fn delete(&mut self)[src]

Destroys the instance of QGeometryFactory. The destructor is virtual.

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

C++ documentation:

Destroys the instance of QGeometryFactory. The destructor is virtual.

impl Deref for QGeometryFactory[src]

type Target = QAbstractFunctor

The resulting type after dereferencing.

fn deref(&self) -> &QAbstractFunctor[src]

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

impl DerefMut for QGeometryFactory[src]

fn deref_mut(&mut self) -> &mut QAbstractFunctor[src]

Calls C++ function: Qt3DRender::QAbstractFunctor* static_cast<Qt3DRender::QAbstractFunctor*>(Qt3DRender::QGeometryFactory* 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).

unsafe fn dynamic_cast_mut(
    ptr: MutPtr<QAbstractFunctor>
) -> MutPtr<QGeometryFactory>
[src]

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

impl PartialEq<Ref<QGeometryFactory>> for QGeometryFactory[src]

fn eq(&self, other: &Ref<QGeometryFactory>) -> bool[src]

Compares the factory with the factory specified in other. Returns true if they are equal.

Calls C++ function: pure virtual bool Qt3DRender::QGeometryFactory::operator==(const Qt3DRender::QGeometryFactory& other) const.

C++ documentation:

Compares the factory with the factory specified in other. Returns true if they are equal.

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).

unsafe fn static_downcast_mut(
    ptr: MutPtr<QAbstractFunctor>
) -> MutPtr<QGeometryFactory>
[src]

Calls C++ function: Qt3DRender::QGeometryFactory* static_cast<Qt3DRender::QGeometryFactory*>(Qt3DRender::QAbstractFunctor* 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).

unsafe fn static_upcast_mut(
    ptr: MutPtr<QGeometryFactory>
) -> MutPtr<QAbstractFunctor>
[src]

Calls C++ function: Qt3DRender::QAbstractFunctor* static_cast<Qt3DRender::QAbstractFunctor*>(Qt3DRender::QGeometryFactory* 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.