[−][src]Struct qt_3d_render::QTextureWrapMode
Defines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture.
C++ class: Qt3DRender::QTextureWrapMode
.
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
.
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
.
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
.
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
.
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
.
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
.
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<MutPtr<QObject>>
) -> QBox<QTextureWrapMode>
[src]
wrap_mode: WrapMode,
parent: impl CastInto<MutPtr<QObject>>
) -> QBox<QTextureWrapMode>
Default constructs an instance of QTextureWrapMode.
Calls C++ function: [constructor] void Qt3DRender::QTextureWrapMode::QTextureWrapMode(Qt3DRender::QTextureWrapMode::WrapMode wrapMode = …, QObject* parent = …)
.
Default constructs an instance of QTextureWrapMode.
pub unsafe fn new_4a(
x: WrapMode,
y: WrapMode,
z: WrapMode,
parent: impl CastInto<MutPtr<QObject>>
) -> QBox<QTextureWrapMode>
[src]
x: WrapMode,
y: WrapMode,
z: WrapMode,
parent: impl CastInto<MutPtr<QObject>>
) -> QBox<QTextureWrapMode>
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 = …)
.
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()
.
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 = …)
.
Default constructs an instance of QTextureWrapMode.
pub unsafe fn new_3a(
x: WrapMode,
y: WrapMode,
z: WrapMode
) -> QBox<QTextureWrapMode>
[src]
x: WrapMode,
y: WrapMode,
z: WrapMode
) -> QBox<QTextureWrapMode>
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)
.
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(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int Qt3DRender::QTextureWrapMode::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DRender::QTextureWrapMode::qt_metacast(const char* arg1)
.
pub unsafe fn set_x(&mut 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)
.
pub unsafe fn set_y(&mut 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)
.
pub unsafe fn set_z(&mut 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)
.
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
pub unsafe fn tr(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DRender::QTextureWrapMode::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
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
.
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
.
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
.
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(&mut 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 DerefMut for QTextureWrapMode
[src]
fn deref_mut(&mut self) -> &mut 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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<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)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QTextureWrapMode>) -> MutPtr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QTextureWrapMode* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QTextureWrapMode
impl Send for QTextureWrapMode
impl Sync for QTextureWrapMode
impl Unpin for QTextureWrapMode
impl UnwindSafe for QTextureWrapMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,