Struct QTextureGenerator

Source
#[repr(C)]
pub struct QTextureGenerator { /* private fields */ }
Expand description

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>§

Source

pub unsafe fn id(&self) -> isize

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§

Source§

impl CppDeletable for QTextureGenerator

Source§

unsafe fn delete(&self)

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.

Source§

impl Deref for QTextureGenerator

Source§

fn deref(&self) -> &QAbstractFunctor

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

Source§

type Target = QAbstractFunctor

The resulting type after dereferencing.
Source§

impl DynamicCast<QTextureGenerator> for QAbstractFunctor

Source§

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

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

Source§

impl PartialEq<Ref<QTextureGenerator>> for QTextureGenerator

Source§

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

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.

1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StaticDowncast<QTextureGenerator> for QAbstractFunctor

Source§

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

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

Source§

impl StaticUpcast<QAbstractFunctor> for QTextureGenerator

Source§

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

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

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.