[][src]Struct qt_3d_extras::QExtrudedTextMesh

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

A 3D extruded Text mesh.

C++ class: Qt3DExtras::QExtrudedTextMesh.

C++ documentation:

A 3D extruded Text mesh.

Methods

impl QExtrudedTextMesh[src]

pub fn slot_set_text(&self) -> Receiver<(*const QString,)>[src]

Holds the text used for the mesh.

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

C++ documentation:

Holds the text used for the mesh.

Access functions:

QString text() const
void setText(const QString &text)

Notifier signal:

void textChanged(const QString &text)

pub fn slot_set_font(&self) -> Receiver<(*const QFont,)>[src]

Holds the font of the text.

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

C++ documentation:

Holds the font of the text.

Access functions:

QFont font() const
void setFont(const QFont &font)

Notifier signal:

void fontChanged(const QFont &font)

pub fn slot_set_depth(&self) -> Receiver<(c_float,)>[src]

Holds the extrusion depth of the text.

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

C++ documentation:

Holds the extrusion depth of the text.

Access functions:

float depth() const
void setDepth(float depth)

Notifier signal:

void depthChanged(float depth)

pub fn text_changed(&self) -> Signal<(*const QString,)>[src]

Holds the text used for the mesh.

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

C++ documentation:

Holds the text used for the mesh.

Access functions:

QString text() const
void setText(const QString &text)

Notifier signal:

void textChanged(const QString &text)

pub fn font_changed(&self) -> Signal<(*const QFont,)>[src]

Holds the font of the text.

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

C++ documentation:

Holds the font of the text.

Access functions:

QFont font() const
void setFont(const QFont &font)

Notifier signal:

void fontChanged(const QFont &font)

pub fn depth_changed(&self) -> Signal<(c_float,)>[src]

Holds the extrusion depth of the text.

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

C++ documentation:

Holds the extrusion depth of the text.

Access functions:

float depth() const
void setDepth(float depth)

Notifier signal:

void depthChanged(float depth)

pub unsafe fn depth(&self) -> c_float[src]

Holds the extrusion depth of the text.

Calls C++ function: float Qt3DExtras::QExtrudedTextMesh::depth() const.

C++ documentation:

Holds the extrusion depth of the text.

Access functions:

float depth() const
void setDepth(float depth)

Notifier signal:

void depthChanged(float depth)

pub unsafe fn font(&self) -> CppBox<QFont>[src]

Holds the font of the text.

Calls C++ function: QFont Qt3DExtras::QExtrudedTextMesh::font() const.

C++ documentation:

Holds the font of the text.

Access functions:

QFont font() const
void setFont(const QFont &font)

Notifier signal:

void fontChanged(const QFont &font)

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

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

pub unsafe fn new_1a(
    parent: impl CastInto<MutPtr<QNode>>
) -> CppBox<QExtrudedTextMesh>
[src]

Constructs a new QText3DMesh with parent.

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

C++ documentation:

Constructs a new QText3DMesh with parent.

pub unsafe fn new_0a() -> CppBox<QExtrudedTextMesh>[src]

A 3D extruded Text mesh.

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

C++ documentation:

A 3D extruded Text mesh.

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

Calls C++ function: virtual int Qt3DExtras::QExtrudedTextMesh::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]

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

pub unsafe fn set_depth(&mut self, depth: c_float)[src]

Holds the extrusion depth of the text.

Calls C++ function: [slot] void Qt3DExtras::QExtrudedTextMesh::setDepth(float depth).

C++ documentation:

Holds the extrusion depth of the text.

Access functions:

float depth() const
void setDepth(float depth)

Notifier signal:

void depthChanged(float depth)

pub unsafe fn set_font(&mut self, font: impl CastInto<Ref<QFont>>)[src]

Holds the font of the text.

Calls C++ function: [slot] void Qt3DExtras::QExtrudedTextMesh::setFont(const QFont& font).

C++ documentation:

Holds the font of the text.

Access functions:

QFont font() const
void setFont(const QFont &font)

Notifier signal:

void fontChanged(const QFont &font)

pub unsafe fn set_text(&mut self, text: impl CastInto<Ref<QString>>)[src]

Holds the text used for the mesh.

Calls C++ function: [slot] void Qt3DExtras::QExtrudedTextMesh::setText(const QString& text).

C++ documentation:

Holds the text used for the mesh.

Access functions:

QString text() const
void setText(const QString &text)

Notifier signal:

void textChanged(const QString &text)

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

Returns a reference to the staticMetaObject field.

pub unsafe fn text(&self) -> CppBox<QString>[src]

Holds the text used for the mesh.

Calls C++ function: QString Qt3DExtras::QExtrudedTextMesh::text() const.

C++ documentation:

Holds the text used for the mesh.

Access functions:

QString text() const
void setText(const QString &text)

Notifier signal:

void textChanged(const QString &text)

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

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

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

Trait Implementations

impl Deref for QExtrudedTextMesh[src]

type Target = QGeometryRenderer

The resulting type after dereferencing.

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

Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QExtrudedTextMesh* ptr).

impl DerefMut for QExtrudedTextMesh[src]

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

Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QExtrudedTextMesh* ptr).

impl StaticUpcast<QGeometryRenderer> for QExtrudedTextMesh[src]

unsafe fn static_upcast(ptr: Ptr<QExtrudedTextMesh>) -> Ptr<QGeometryRenderer>[src]

Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QExtrudedTextMesh* ptr).

unsafe fn static_upcast_mut(
    ptr: MutPtr<QExtrudedTextMesh>
) -> MutPtr<QGeometryRenderer>
[src]

Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QExtrudedTextMesh* ptr).

impl StaticUpcast<QComponent> for QExtrudedTextMesh[src]

unsafe fn static_upcast(ptr: Ptr<QExtrudedTextMesh>) -> Ptr<QComponent>[src]

Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DExtras::QExtrudedTextMesh* ptr).

unsafe fn static_upcast_mut(
    ptr: MutPtr<QExtrudedTextMesh>
) -> MutPtr<QComponent>
[src]

Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DExtras::QExtrudedTextMesh* ptr).

impl StaticUpcast<QNode> for QExtrudedTextMesh[src]

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

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

unsafe fn static_upcast_mut(ptr: MutPtr<QExtrudedTextMesh>) -> MutPtr<QNode>[src]

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

impl StaticUpcast<QObject> for QExtrudedTextMesh[src]

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

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

unsafe fn static_upcast_mut(ptr: MutPtr<QExtrudedTextMesh>) -> MutPtr<QObject>[src]

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

impl StaticDowncast<QExtrudedTextMesh> for QGeometryRenderer[src]

unsafe fn static_downcast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QExtrudedTextMesh>[src]

Calls C++ function: Qt3DExtras::QExtrudedTextMesh* static_cast<Qt3DExtras::QExtrudedTextMesh*>(Qt3DRender::QGeometryRenderer* ptr).

unsafe fn static_downcast_mut(
    ptr: MutPtr<QGeometryRenderer>
) -> MutPtr<QExtrudedTextMesh>
[src]

Calls C++ function: Qt3DExtras::QExtrudedTextMesh* static_cast<Qt3DExtras::QExtrudedTextMesh*>(Qt3DRender::QGeometryRenderer* ptr).

impl StaticDowncast<QExtrudedTextMesh> for QComponent[src]

unsafe fn static_downcast(ptr: Ptr<QComponent>) -> Ptr<QExtrudedTextMesh>[src]

Calls C++ function: Qt3DExtras::QExtrudedTextMesh* static_cast<Qt3DExtras::QExtrudedTextMesh*>(Qt3DCore::QComponent* ptr).

unsafe fn static_downcast_mut(
    ptr: MutPtr<QComponent>
) -> MutPtr<QExtrudedTextMesh>
[src]

Calls C++ function: Qt3DExtras::QExtrudedTextMesh* static_cast<Qt3DExtras::QExtrudedTextMesh*>(Qt3DCore::QComponent* ptr).

impl StaticDowncast<QExtrudedTextMesh> for QNode[src]

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

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

unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<QExtrudedTextMesh>[src]

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

impl StaticDowncast<QExtrudedTextMesh> for QObject[src]

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

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

unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QExtrudedTextMesh>[src]

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

impl DynamicCast<QExtrudedTextMesh> for QGeometryRenderer[src]

unsafe fn dynamic_cast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QExtrudedTextMesh>[src]

Calls C++ function: Qt3DExtras::QExtrudedTextMesh* dynamic_cast<Qt3DExtras::QExtrudedTextMesh*>(Qt3DRender::QGeometryRenderer* ptr).

unsafe fn dynamic_cast_mut(
    ptr: MutPtr<QGeometryRenderer>
) -> MutPtr<QExtrudedTextMesh>
[src]

Calls C++ function: Qt3DExtras::QExtrudedTextMesh* dynamic_cast<Qt3DExtras::QExtrudedTextMesh*>(Qt3DRender::QGeometryRenderer* ptr).

impl DynamicCast<QExtrudedTextMesh> for QComponent[src]

unsafe fn dynamic_cast(ptr: Ptr<QComponent>) -> Ptr<QExtrudedTextMesh>[src]

Calls C++ function: Qt3DExtras::QExtrudedTextMesh* dynamic_cast<Qt3DExtras::QExtrudedTextMesh*>(Qt3DCore::QComponent* ptr).

unsafe fn dynamic_cast_mut(ptr: MutPtr<QComponent>) -> MutPtr<QExtrudedTextMesh>[src]

Calls C++ function: Qt3DExtras::QExtrudedTextMesh* dynamic_cast<Qt3DExtras::QExtrudedTextMesh*>(Qt3DCore::QComponent* ptr).

impl DynamicCast<QExtrudedTextMesh> for QNode[src]

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

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

unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<QExtrudedTextMesh>[src]

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

impl DynamicCast<QExtrudedTextMesh> for QObject[src]

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

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

unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QExtrudedTextMesh>[src]

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

impl CppDeletable for QExtrudedTextMesh[src]

unsafe fn delete(&mut self)[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]