[][src]Struct qt_3d_extras::QSpriteSheetItem

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

C++ class: Qt3DExtras::QSpriteSheetItem.

Methods

impl QSpriteSheetItem[src]

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

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

C++ documentation:

Access functions:

int x() const
void setX(int x)

Notifier signal:

void xChanged(int x)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

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

C++ documentation:

Access functions:

int y() const
void setY(int y)

Notifier signal:

void yChanged(int y)

pub fn slot_set_width(&self) -> Receiver<(c_int,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Returns a built-in Qt slot Qt3DExtras::QSpriteSheetItem::setWidth that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

int width() const
void setWidth(int width)

Notifier signal:

void widthChanged(int width)

pub fn slot_set_height(&self) -> Receiver<(c_int,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Returns a built-in Qt slot Qt3DExtras::QSpriteSheetItem::setHeight that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

int height() const
void setHeight(int height)

Notifier signal:

void heightChanged(int height)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

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

C++ documentation:

Access functions:

int x() const
void setX(int x)

Notifier signal:

void xChanged(int x)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

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

C++ documentation:

Access functions:

int y() const
void setY(int y)

Notifier signal:

void yChanged(int y)

pub fn width_changed(&self) -> Signal<(c_int,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Returns a built-in Qt signal Qt3DExtras::QSpriteSheetItem::widthChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

int width() const
void setWidth(int width)

Notifier signal:

void widthChanged(int width)

pub fn height_changed(&self) -> Signal<(c_int,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Returns a built-in Qt signal Qt3DExtras::QSpriteSheetItem::heightChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

int height() const
void setHeight(int height)

Notifier signal:

void heightChanged(int height)

pub unsafe fn height(&self) -> c_int[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Calls C++ function: int Qt3DExtras::QSpriteSheetItem::height() const.

C++ documentation:

Access functions:

int height() const
void setHeight(int height)

Notifier signal:

void heightChanged(int height)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: virtual const QMetaObject* Qt3DExtras::QSpriteSheetItem::metaObject() const.

pub unsafe fn new_1a(
    parent: impl CastInto<Ptr<QNode>>
) -> QBox<QSpriteSheetItem>
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Default constructs an instance of QSpriteSheetItem.

Calls C++ function: [constructor] void Qt3DExtras::QSpriteSheetItem::QSpriteSheetItem(Qt3DCore::QNode* parent = …).

C++ documentation:

Default constructs an instance of QSpriteSheetItem.

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: [constructor] void Qt3DExtras::QSpriteSheetItem::QSpriteSheetItem().

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

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

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: virtual void* Qt3DExtras::QSpriteSheetItem::qt_metacast(const char* arg1).

pub unsafe fn set_height(&self, height: c_int)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Calls C++ function: [slot] void Qt3DExtras::QSpriteSheetItem::setHeight(int height).

C++ documentation:

Access functions:

int height() const
void setHeight(int height)

Notifier signal:

void heightChanged(int height)

pub unsafe fn set_width(&self, width: c_int)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Calls C++ function: [slot] void Qt3DExtras::QSpriteSheetItem::setWidth(int width).

C++ documentation:

Access functions:

int width() const
void setWidth(int width)

Notifier signal:

void widthChanged(int width)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Calls C++ function: [slot] void Qt3DExtras::QSpriteSheetItem::setX(int x).

C++ documentation:

Access functions:

int x() const
void setX(int x)

Notifier signal:

void xChanged(int x)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Calls C++ function: [slot] void Qt3DExtras::QSpriteSheetItem::setY(int y).

C++ documentation:

Access functions:

int y() const
void setY(int y)

Notifier signal:

void yChanged(int y)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

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]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: static QString Qt3DExtras::QSpriteSheetItem::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]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

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

pub unsafe fn width(&self) -> c_int[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Calls C++ function: int Qt3DExtras::QSpriteSheetItem::width() const.

C++ documentation:

Access functions:

int width() const
void setWidth(int width)

Notifier signal:

void widthChanged(int width)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Calls C++ function: int Qt3DExtras::QSpriteSheetItem::x() const.

C++ documentation:

Access functions:

int x() const
void setX(int x)

Notifier signal:

void xChanged(int x)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Access functions:

Calls C++ function: int Qt3DExtras::QSpriteSheetItem::y() const.

C++ documentation:

Access functions:

int y() const
void setY(int y)

Notifier signal:

void yChanged(int y)

Trait Implementations

impl CppDeletable for QSpriteSheetItem[src]

unsafe fn delete(&self)[src]

Calls C++ function: [destructor] void Qt3DExtras::QSpriteSheetItem::~QSpriteSheetItem().

impl Deref for QSpriteSheetItem[src]

type Target = QNode

The resulting type after dereferencing.

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

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QSpriteSheetItem* ptr).

impl DynamicCast<QSpriteSheetItem> for QNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QSpriteSheetItem>[src]

Calls C++ function: Qt3DExtras::QSpriteSheetItem* dynamic_cast<Qt3DExtras::QSpriteSheetItem*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QSpriteSheetItem> for QObject[src]

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

Calls C++ function: Qt3DExtras::QSpriteSheetItem* dynamic_cast<Qt3DExtras::QSpriteSheetItem*>(QObject* ptr).

impl StaticDowncast<QSpriteSheetItem> for QNode[src]

unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QSpriteSheetItem>[src]

Calls C++ function: Qt3DExtras::QSpriteSheetItem* static_cast<Qt3DExtras::QSpriteSheetItem*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QSpriteSheetItem> for QObject[src]

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

Calls C++ function: Qt3DExtras::QSpriteSheetItem* static_cast<Qt3DExtras::QSpriteSheetItem*>(QObject* ptr).

impl StaticUpcast<QNode> for QSpriteSheetItem[src]

unsafe fn static_upcast(ptr: Ptr<QSpriteSheetItem>) -> Ptr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QSpriteSheetItem* ptr).

impl StaticUpcast<QObject> for QSpriteSheetItem[src]

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

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