[][src]Struct qt_3d_extras::QCylinderMesh

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

A cylindrical mesh.

C++ class: Qt3DExtras::QCylinderMesh.

C++ documentation:

A cylindrical mesh.

Methods

impl QCylinderMesh[src]

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

Holds the number of rings in the mesh.

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

C++ documentation:

Holds the number of rings in the mesh.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

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

Holds the number of slices in the mesh.

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

C++ documentation:

Holds the number of slices in the mesh.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

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

Holds the radius of the cylinder.

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

C++ documentation:

Holds the radius of the cylinder.

Access functions:

float radius() const
void setRadius(float radius)

Notifier signal:

void radiusChanged(float radius)

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

Holds the length of the cylinder.

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

C++ documentation:

Holds the length of the cylinder.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

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

Holds the radius of the cylinder.

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

C++ documentation:

Holds the radius of the cylinder.

Access functions:

float radius() const
void setRadius(float radius)

Notifier signal:

void radiusChanged(float radius)

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

Holds the number of rings in the mesh.

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

C++ documentation:

Holds the number of rings in the mesh.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

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

Holds the number of slices in the mesh.

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

C++ documentation:

Holds the number of slices in the mesh.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

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

Holds the length of the cylinder.

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

C++ documentation:

Holds the length of the cylinder.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

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

Holds the length of the cylinder.

Calls C++ function: float Qt3DExtras::QCylinderMesh::length() const.

C++ documentation:

Holds the length of the cylinder.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

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

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

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

Default constructs an instance of QCylinderMesh.

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

C++ documentation:

Default constructs an instance of QCylinderMesh.

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

A cylindrical mesh.

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

C++ documentation:

A cylindrical mesh.

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

Calls C++ function: virtual int Qt3DExtras::QCylinderMesh::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* Qt3DExtras::QCylinderMesh::qt_metacast(const char* arg1).

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

Holds the radius of the cylinder.

Calls C++ function: float Qt3DExtras::QCylinderMesh::radius() const.

C++ documentation:

Holds the radius of the cylinder.

Access functions:

float radius() const
void setRadius(float radius)

Notifier signal:

void radiusChanged(float radius)

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

Holds the number of rings in the mesh.

Calls C++ function: int Qt3DExtras::QCylinderMesh::rings() const.

C++ documentation:

Holds the number of rings in the mesh.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

pub unsafe fn set_length(&self, length: c_float)[src]

Holds the length of the cylinder.

Calls C++ function: [slot] void Qt3DExtras::QCylinderMesh::setLength(float length).

C++ documentation:

Holds the length of the cylinder.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

pub unsafe fn set_radius(&self, radius: c_float)[src]

Holds the radius of the cylinder.

Calls C++ function: [slot] void Qt3DExtras::QCylinderMesh::setRadius(float radius).

C++ documentation:

Holds the radius of the cylinder.

Access functions:

float radius() const
void setRadius(float radius)

Notifier signal:

void radiusChanged(float radius)

pub unsafe fn set_rings(&self, rings: c_int)[src]

Holds the number of rings in the mesh.

Calls C++ function: [slot] void Qt3DExtras::QCylinderMesh::setRings(int rings).

C++ documentation:

Holds the number of rings in the mesh.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

pub unsafe fn set_slices(&self, slices: c_int)[src]

Holds the number of slices in the mesh.

Calls C++ function: [slot] void Qt3DExtras::QCylinderMesh::setSlices(int slices).

C++ documentation:

Holds the number of slices in the mesh.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

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

Holds the number of slices in the mesh.

Calls C++ function: int Qt3DExtras::QCylinderMesh::slices() const.

C++ documentation:

Holds the number of slices in the mesh.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

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 Qt3DExtras::QCylinderMesh::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 Qt3DExtras::QCylinderMesh::trUtf8(const char* s, const char* c, int n).

Trait Implementations

impl CppDeletable for QCylinderMesh[src]

unsafe fn delete(&self)[src]

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

impl Deref for QCylinderMesh[src]

type Target = QGeometryRenderer

The resulting type after dereferencing.

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

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

impl DynamicCast<QCylinderMesh> for QGeometryRenderer[src]

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

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

impl DynamicCast<QCylinderMesh> for QComponent[src]

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

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

impl DynamicCast<QCylinderMesh> for QNode[src]

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

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

impl DynamicCast<QCylinderMesh> for QObject[src]

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

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

impl StaticDowncast<QCylinderMesh> for QGeometryRenderer[src]

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

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

impl StaticDowncast<QCylinderMesh> for QComponent[src]

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

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

impl StaticDowncast<QCylinderMesh> for QNode[src]

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

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

impl StaticDowncast<QCylinderMesh> for QObject[src]

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

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

impl StaticUpcast<QComponent> for QCylinderMesh[src]

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

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

impl StaticUpcast<QGeometryRenderer> for QCylinderMesh[src]

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

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

impl StaticUpcast<QNode> for QCylinderMesh[src]

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

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

impl StaticUpcast<QObject> for QCylinderMesh[src]

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

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