[][src]Struct qt_3d_render::QTextureGenerator

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

Provides the image data for a texture.

C++ class: Qt3DRender::QTextureGenerator.

C++ documentation:

Provides the image data for a texture.

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

unsafe fn delete(&mut self)[src]

Destroys the instance of QTextureGenerator. The destructor is virtual.

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

C++ documentation:

Destroys the instance of QTextureGenerator. The destructor is virtual.

impl Deref for QTextureGenerator[src]

type Target = QAbstractFunctor

The resulting type after dereferencing.

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

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

impl DerefMut for QTextureGenerator[src]

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

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

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

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

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

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

Compare these texture data to other. Returns true if both are equal.

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

C++ documentation:

Compare these texture data to other. Returns true if both are equal.

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

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

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

unsafe fn static_upcast_mut(
    ptr: MutPtr<QTextureGenerator>
) -> MutPtr<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.