[][src]Struct qt_3d_render::QTextureWrapMode

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

Defines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture.

C++ class: Qt3DRender::QTextureWrapMode.

C++ documentation:

Defines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture.

Methods

impl QTextureWrapMode[src]

pub fn slot_set_x(&self) -> Receiver<(WrapMode,)>[src]

Sets the wrap mode of the x dimension to x.

Returns a built-in Qt slot Qt3DRender::QTextureWrapMode::setX that can be passed to qt_core::Signal::connect.

C++ documentation:

Sets the wrap mode of the x dimension to x.

Note: Setter function for property x.

See also x().

pub fn slot_set_y(&self) -> Receiver<(WrapMode,)>[src]

Sets the wrap mode of the y dimension to y.

Returns a built-in Qt slot Qt3DRender::QTextureWrapMode::setY that can be passed to qt_core::Signal::connect.

C++ documentation:

Sets the wrap mode of the y dimension to y.

Note: this is not available on 1D textures.

Note: Setter function for property y.

See also y().

pub fn slot_set_z(&self) -> Receiver<(WrapMode,)>[src]

Sets the wrap mode of the z dimension to z.

Returns a built-in Qt slot Qt3DRender::QTextureWrapMode::setZ that can be passed to qt_core::Signal::connect.

C++ documentation:

Sets the wrap mode of the z dimension to z.

Note: this is only available on 3D textures.

Note: Setter function for property z.

See also z().

pub fn x_changed(&self) -> Signal<(WrapMode,)>[src]

Returns the wrap mode of the x dimension.

Returns a built-in Qt signal Qt3DRender::QTextureWrapMode::xChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Returns the wrap mode of the x dimension.

Access functions:

WrapMode x() const
void setX(WrapMode x)

Notifier signal:

void xChanged(WrapMode x)

pub fn y_changed(&self) -> Signal<(WrapMode,)>[src]

Returns the wrap mode of the y dimension.

Returns a built-in Qt signal Qt3DRender::QTextureWrapMode::yChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Returns the wrap mode of the y dimension.

Access functions:

WrapMode y() const
void setY(WrapMode y)

Notifier signal:

void yChanged(WrapMode y)

pub fn z_changed(&self) -> Signal<(WrapMode,)>[src]

Returns the wrap mode of the z dimension.

Returns a built-in Qt signal Qt3DRender::QTextureWrapMode::zChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Returns the wrap mode of the z dimension.

Access functions:

WrapMode z() const
void setZ(WrapMode z)

Notifier signal:

void zChanged(WrapMode z)

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DRender::QTextureWrapMode::metaObject() const.

pub unsafe fn new_2a(
    wrap_mode: WrapMode,
    parent: impl CastInto<Ptr<QObject>>
) -> QBox<QTextureWrapMode>
[src]

Default constructs an instance of QTextureWrapMode.

Calls C++ function: [constructor] void Qt3DRender::QTextureWrapMode::QTextureWrapMode(Qt3DRender::QTextureWrapMode::WrapMode wrapMode = …, QObject* parent = …).

C++ documentation:

Default constructs an instance of QTextureWrapMode.

pub unsafe fn new_4a(
    x: WrapMode,
    y: WrapMode,
    z: WrapMode,
    parent: impl CastInto<Ptr<QObject>>
) -> QBox<QTextureWrapMode>
[src]

Contrusts a new Qt3DRender::QTextureWrapMode instance with the wrap mode to apply to each dimension x, y z of the texture and parent as parent.

Calls C++ function: [constructor] void Qt3DRender::QTextureWrapMode::QTextureWrapMode(Qt3DRender::QTextureWrapMode::WrapMode x, Qt3DRender::QTextureWrapMode::WrapMode y, Qt3DRender::QTextureWrapMode::WrapMode z, QObject* parent = …).

C++ documentation:

Contrusts a new Qt3DRender::QTextureWrapMode instance with the wrap mode to apply to each dimension x, y z of the texture and parent as parent.

pub unsafe fn new_0a() -> QBox<QTextureWrapMode>[src]

Defines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture.

Calls C++ function: [constructor] void Qt3DRender::QTextureWrapMode::QTextureWrapMode().

C++ documentation:

Defines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture.

pub unsafe fn new_1a(wrap_mode: WrapMode) -> QBox<QTextureWrapMode>[src]

Default constructs an instance of QTextureWrapMode.

Calls C++ function: [constructor] void Qt3DRender::QTextureWrapMode::QTextureWrapMode(Qt3DRender::QTextureWrapMode::WrapMode wrapMode = …).

C++ documentation:

Default constructs an instance of QTextureWrapMode.

pub unsafe fn new_3a(
    x: WrapMode,
    y: WrapMode,
    z: WrapMode
) -> QBox<QTextureWrapMode>
[src]

Contrusts a new Qt3DRender::QTextureWrapMode instance with the wrap mode to apply to each dimension x, y z of the texture and parent as parent.

Calls C++ function: [constructor] void Qt3DRender::QTextureWrapMode::QTextureWrapMode(Qt3DRender::QTextureWrapMode::WrapMode x, Qt3DRender::QTextureWrapMode::WrapMode y, Qt3DRender::QTextureWrapMode::WrapMode z).

C++ documentation:

Contrusts a new Qt3DRender::QTextureWrapMode instance with the wrap mode to apply to each dimension x, y z of the texture and parent as parent.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int Qt3DRender::QTextureWrapMode::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* Qt3DRender::QTextureWrapMode::qt_metacast(const char* arg1).

pub unsafe fn set_x(&self, x: WrapMode)[src]

Sets the wrap mode of the x dimension to x.

Calls C++ function: [slot] void Qt3DRender::QTextureWrapMode::setX(Qt3DRender::QTextureWrapMode::WrapMode x).

C++ documentation:

Sets the wrap mode of the x dimension to x.

Note: Setter function for property x.

See also x().

pub unsafe fn set_y(&self, y: WrapMode)[src]

Sets the wrap mode of the y dimension to y.

Calls C++ function: [slot] void Qt3DRender::QTextureWrapMode::setY(Qt3DRender::QTextureWrapMode::WrapMode y).

C++ documentation:

Sets the wrap mode of the y dimension to y.

Note: this is not available on 1D textures.

Note: Setter function for property y.

See also y().

pub unsafe fn set_z(&self, z: WrapMode)[src]

Sets the wrap mode of the z dimension to z.

Calls C++ function: [slot] void Qt3DRender::QTextureWrapMode::setZ(Qt3DRender::QTextureWrapMode::WrapMode z).

C++ documentation:

Sets the wrap mode of the z dimension to z.

Note: this is only available on 3D textures.

Note: Setter function for property z.

See also z().

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DRender::QTextureWrapMode::tr(const char* s, const char* c, int n).

pub unsafe fn tr_utf8(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DRender::QTextureWrapMode::trUtf8(const char* s, const char* c, int n).

pub unsafe fn x(&self) -> WrapMode[src]

Returns the wrap mode of the x dimension.

Calls C++ function: Qt3DRender::QTextureWrapMode::WrapMode Qt3DRender::QTextureWrapMode::x() const.

C++ documentation:

Returns the wrap mode of the x dimension.

Access functions:

WrapMode x() const
void setX(WrapMode x)

Notifier signal:

void xChanged(WrapMode x)

pub unsafe fn y(&self) -> WrapMode[src]

Returns the wrap mode of the y dimension.

Calls C++ function: Qt3DRender::QTextureWrapMode::WrapMode Qt3DRender::QTextureWrapMode::y() const.

C++ documentation:

Returns the wrap mode of the y dimension.

Access functions:

WrapMode y() const
void setY(WrapMode y)

Notifier signal:

void yChanged(WrapMode y)

pub unsafe fn z(&self) -> WrapMode[src]

Returns the wrap mode of the z dimension.

Calls C++ function: Qt3DRender::QTextureWrapMode::WrapMode Qt3DRender::QTextureWrapMode::z() const.

C++ documentation:

Returns the wrap mode of the z dimension.

Access functions:

WrapMode z() const
void setZ(WrapMode z)

Notifier signal:

void zChanged(WrapMode z)

Trait Implementations

impl CppDeletable for QTextureWrapMode[src]

unsafe fn delete(&self)[src]

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

impl Deref for QTextureWrapMode[src]

type Target = QObject

The resulting type after dereferencing.

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

Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QTextureWrapMode* ptr).

impl DynamicCast<QTextureWrapMode> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QTextureWrapMode>[src]

Calls C++ function: Qt3DRender::QTextureWrapMode* dynamic_cast<Qt3DRender::QTextureWrapMode*>(QObject* ptr).

impl StaticDowncast<QTextureWrapMode> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QTextureWrapMode>[src]

Calls C++ function: Qt3DRender::QTextureWrapMode* static_cast<Qt3DRender::QTextureWrapMode*>(QObject* ptr).

impl StaticUpcast<QObject> for QTextureWrapMode[src]

unsafe fn static_upcast(ptr: Ptr<QTextureWrapMode>) -> Ptr<QObject>[src]

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