[−][src]Struct qt_3d_extras::QCylinderMesh
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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<MutPtr<QNode>>
) -> QBox<QCylinderMesh>
[src]
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QCylinderMesh>
Default constructs an instance of QCylinderMesh.
Calls C++ function: [constructor] void Qt3DExtras::QCylinderMesh::QCylinderMesh(Qt3DCore::QNode* parent = …)
.
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()
.
A cylindrical mesh.
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 Qt3DExtras::QCylinderMesh::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* 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
.
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
.
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(&mut self, length: c_float)
[src]
Holds the length of the cylinder.
Calls C++ function: [slot] void Qt3DExtras::QCylinderMesh::setLength(float length)
.
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(&mut self, radius: c_float)
[src]
Holds the radius of the cylinder.
Calls C++ function: [slot] void Qt3DExtras::QCylinderMesh::setRadius(float radius)
.
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(&mut self, rings: c_int)
[src]
Holds the number of rings in the mesh.
Calls C++ function: [slot] void Qt3DExtras::QCylinderMesh::setRings(int rings)
.
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(&mut self, slices: c_int)
[src]
Holds the number of slices in the mesh.
Calls C++ function: [slot] void Qt3DExtras::QCylinderMesh::setSlices(int slices)
.
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
.
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: 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 Qt3DExtras::QCylinderMesh::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 Qt3DExtras::QCylinderMesh::trUtf8(const char* s, const char* c, int n)
.
Trait Implementations
impl CppDeletable for QCylinderMesh
[src]
unsafe fn delete(&mut 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 DerefMut for QCylinderMesh
[src]
fn deref_mut(&mut self) -> &mut 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)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QGeometryRenderer>
) -> MutPtr<QCylinderMesh>
[src]
ptr: MutPtr<QGeometryRenderer>
) -> MutPtr<QCylinderMesh>
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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QComponent>) -> MutPtr<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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<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)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QGeometryRenderer>
) -> MutPtr<QCylinderMesh>
[src]
ptr: MutPtr<QGeometryRenderer>
) -> MutPtr<QCylinderMesh>
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)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QComponent>) -> MutPtr<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)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<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)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QCylinderMesh>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QCylinderMesh>
) -> MutPtr<QGeometryRenderer>
[src]
ptr: MutPtr<QCylinderMesh>
) -> MutPtr<QGeometryRenderer>
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)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QCylinderMesh>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QCylinderMesh>) -> MutPtr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QCylinderMesh* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QCylinderMesh
impl Send for QCylinderMesh
impl Sync for QCylinderMesh
impl Unpin for QCylinderMesh
impl UnwindSafe for QCylinderMesh
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>,