[−][src]Struct qt_3d_extras::QTorusMesh
Methods
impl QTorusMesh
[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::QTorusMesh::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::QTorusMesh::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 outer radius of the torus.
Returns a built-in Qt slot Qt3DExtras::QTorusMesh::setRadius
that can be passed to qt_core::Signal::connect
.
Holds the outer radius of the torus.
Access functions:
float | radius() const |
void | setRadius(float radius) |
Notifier signal:
void | radiusChanged(float radius) |
pub fn slot_set_minor_radius(&self) -> Receiver<(c_float,)>
[src]
Holds the inner radius of the torus.
Returns a built-in Qt slot Qt3DExtras::QTorusMesh::setMinorRadius
that can be passed to qt_core::Signal::connect
.
Holds the inner radius of the torus.
Access functions:
float | minorRadius() const |
void | setMinorRadius(float minorRadius) |
Notifier signal:
void | minorRadiusChanged(float minorRadius) |
pub fn radius_changed(&self) -> Signal<(c_float,)>
[src]
Holds the outer radius of the torus.
Returns a built-in Qt signal Qt3DExtras::QTorusMesh::radiusChanged
that can be passed to qt_core::Signal::connect
.
Holds the outer radius of the torus.
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::QTorusMesh::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::QTorusMesh::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 minor_radius_changed(&self) -> Signal<(c_float,)>
[src]
Holds the inner radius of the torus.
Returns a built-in Qt signal Qt3DExtras::QTorusMesh::minorRadiusChanged
that can be passed to qt_core::Signal::connect
.
Holds the inner radius of the torus.
Access functions:
float | minorRadius() const |
void | setMinorRadius(float minorRadius) |
Notifier signal:
void | minorRadiusChanged(float minorRadius) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DExtras::QTorusMesh::metaObject() const
.
pub unsafe fn minor_radius(&self) -> c_float
[src]
Holds the inner radius of the torus.
Calls C++ function: float Qt3DExtras::QTorusMesh::minorRadius() const
.
Holds the inner radius of the torus.
Access functions:
float | minorRadius() const |
void | setMinorRadius(float minorRadius) |
Notifier signal:
void | minorRadiusChanged(float minorRadius) |
pub unsafe fn new_1a(parent: impl CastInto<MutPtr<QNode>>) -> CppBox<QTorusMesh>
[src]
Default constructs an instance of QTorusMesh.
Calls C++ function: [constructor] void Qt3DExtras::QTorusMesh::QTorusMesh(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QTorusMesh.
pub unsafe fn new_0a() -> CppBox<QTorusMesh>
[src]
A toroidal mesh.
Calls C++ function: [constructor] void Qt3DExtras::QTorusMesh::QTorusMesh()
.
A toroidal 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::QTorusMesh::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::QTorusMesh::qt_metacast(const char* arg1)
.
pub unsafe fn radius(&self) -> c_float
[src]
Holds the outer radius of the torus.
Calls C++ function: float Qt3DExtras::QTorusMesh::radius() const
.
Holds the outer radius of the torus.
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::QTorusMesh::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_minor_radius(&mut self, minor_radius: c_float)
[src]
Holds the inner radius of the torus.
Calls C++ function: [slot] void Qt3DExtras::QTorusMesh::setMinorRadius(float minorRadius)
.
Holds the inner radius of the torus.
Access functions:
float | minorRadius() const |
void | setMinorRadius(float minorRadius) |
Notifier signal:
void | minorRadiusChanged(float minorRadius) |
pub unsafe fn set_radius(&mut self, radius: c_float)
[src]
Holds the outer radius of the torus.
Calls C++ function: [slot] void Qt3DExtras::QTorusMesh::setRadius(float radius)
.
Holds the outer radius of the torus.
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::QTorusMesh::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::QTorusMesh::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::QTorusMesh::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::QTorusMesh::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::QTorusMesh::trUtf8(const char* s, const char* c, int n)
.
Trait Implementations
impl Deref for QTorusMesh
[src]
type Target = QGeometryRenderer
The resulting type after dereferencing.
fn deref(&self) -> &QGeometryRenderer
[src]
Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QTorusMesh* ptr)
.
impl DerefMut for QTorusMesh
[src]
fn deref_mut(&mut self) -> &mut QGeometryRenderer
[src]
Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QTorusMesh* ptr)
.
impl StaticUpcast<QGeometryRenderer> for QTorusMesh
[src]
unsafe fn static_upcast(ptr: Ptr<QTorusMesh>) -> Ptr<QGeometryRenderer>
[src]
Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QTorusMesh* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QTorusMesh>
) -> MutPtr<QGeometryRenderer>
[src]
ptr: MutPtr<QTorusMesh>
) -> MutPtr<QGeometryRenderer>
Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QTorusMesh* ptr)
.
impl StaticUpcast<QComponent> for QTorusMesh
[src]
unsafe fn static_upcast(ptr: Ptr<QTorusMesh>) -> Ptr<QComponent>
[src]
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DExtras::QTorusMesh* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QTorusMesh>) -> MutPtr<QComponent>
[src]
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DExtras::QTorusMesh* ptr)
.
impl StaticUpcast<QNode> for QTorusMesh
[src]
unsafe fn static_upcast(ptr: Ptr<QTorusMesh>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QTorusMesh* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QTorusMesh>) -> MutPtr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QTorusMesh* ptr)
.
impl StaticUpcast<QObject> for QTorusMesh
[src]
unsafe fn static_upcast(ptr: Ptr<QTorusMesh>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QTorusMesh* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QTorusMesh>) -> MutPtr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QTorusMesh* ptr)
.
impl StaticDowncast<QTorusMesh> for QGeometryRenderer
[src]
unsafe fn static_downcast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* static_cast<Qt3DExtras::QTorusMesh*>(Qt3DRender::QGeometryRenderer* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QGeometryRenderer>
) -> MutPtr<QTorusMesh>
[src]
ptr: MutPtr<QGeometryRenderer>
) -> MutPtr<QTorusMesh>
Calls C++ function: Qt3DExtras::QTorusMesh* static_cast<Qt3DExtras::QTorusMesh*>(Qt3DRender::QGeometryRenderer* ptr)
.
impl StaticDowncast<QTorusMesh> for QComponent
[src]
unsafe fn static_downcast(ptr: Ptr<QComponent>) -> Ptr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* static_cast<Qt3DExtras::QTorusMesh*>(Qt3DCore::QComponent* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QComponent>) -> MutPtr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* static_cast<Qt3DExtras::QTorusMesh*>(Qt3DCore::QComponent* ptr)
.
impl StaticDowncast<QTorusMesh> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* static_cast<Qt3DExtras::QTorusMesh*>(Qt3DCore::QNode* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* static_cast<Qt3DExtras::QTorusMesh*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QTorusMesh> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* static_cast<Qt3DExtras::QTorusMesh*>(QObject* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* static_cast<Qt3DExtras::QTorusMesh*>(QObject* ptr)
.
impl DynamicCast<QTorusMesh> for QGeometryRenderer
[src]
unsafe fn dynamic_cast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* dynamic_cast<Qt3DExtras::QTorusMesh*>(Qt3DRender::QGeometryRenderer* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QGeometryRenderer>) -> MutPtr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* dynamic_cast<Qt3DExtras::QTorusMesh*>(Qt3DRender::QGeometryRenderer* ptr)
.
impl DynamicCast<QTorusMesh> for QComponent
[src]
unsafe fn dynamic_cast(ptr: Ptr<QComponent>) -> Ptr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* dynamic_cast<Qt3DExtras::QTorusMesh*>(Qt3DCore::QComponent* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QComponent>) -> MutPtr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* dynamic_cast<Qt3DExtras::QTorusMesh*>(Qt3DCore::QComponent* ptr)
.
impl DynamicCast<QTorusMesh> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* dynamic_cast<Qt3DExtras::QTorusMesh*>(Qt3DCore::QNode* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* dynamic_cast<Qt3DExtras::QTorusMesh*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QTorusMesh> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* dynamic_cast<Qt3DExtras::QTorusMesh*>(QObject* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QTorusMesh>
[src]
Calls C++ function: Qt3DExtras::QTorusMesh* dynamic_cast<Qt3DExtras::QTorusMesh*>(QObject* ptr)
.
impl CppDeletable for QTorusMesh
[src]
Auto Trait Implementations
impl Send for QTorusMesh
impl Sync for QTorusMesh
impl Unpin for QTorusMesh
impl UnwindSafe for QTorusMesh
impl RefUnwindSafe for QTorusMesh
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,