[−][src]Struct qt_3d_render::QLineWidth
Specifies the width of rasterized lines.
C++ class: Qt3DRender::QLineWidth
.
Specifies the width of rasterized lines.
Methods
impl QLineWidth
[src]
pub fn slot_set_value(&self) -> Receiver<(c_float,)>
[src]
Specifies the width value to be used.
Returns a built-in Qt slot Qt3DRender::QLineWidth::setValue
that can be passed to qt_core::Signal::connect
.
Specifies the width value to be used.
Access functions:
float | value() const |
void | setValue(float value) |
Notifier signal:
void | valueChanged(float value) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn slot_set_smooth(&self) -> Receiver<(bool,)>
[src]
Access functions:
Returns a built-in Qt slot Qt3DRender::QLineWidth::setSmooth
that can be passed to qt_core::Signal::connect
.
Access functions:
bool | smooth() const |
void | setSmooth(bool enabled) |
Notifier signal:
void | smoothChanged(bool enabled) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn value_changed(&self) -> Signal<(c_float,)>
[src]
Specifies the width value to be used.
Returns a built-in Qt signal Qt3DRender::QLineWidth::valueChanged
that can be passed to qt_core::Signal::connect
.
Specifies the width value to be used.
Access functions:
float | value() const |
void | setValue(float value) |
Notifier signal:
void | valueChanged(float value) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn smooth_changed(&self) -> Signal<(bool,)>
[src]
Access functions:
Returns a built-in Qt signal Qt3DRender::QLineWidth::smoothChanged
that can be passed to qt_core::Signal::connect
.
Access functions:
bool | smooth() const |
void | setSmooth(bool enabled) |
Notifier signal:
void | smoothChanged(bool enabled) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QLineWidth::metaObject() const
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn new_1a(parent: impl CastInto<MutPtr<QNode>>) -> QBox<QLineWidth>
[src]
Default constructs an instance of QLineWidth.
Calls C++ function: [constructor] void Qt3DRender::QLineWidth::QLineWidth(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QLineWidth.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn new_0a() -> QBox<QLineWidth>
[src]
Specifies the width of rasterized lines.
Calls C++ function: [constructor] void Qt3DRender::QLineWidth::QLineWidth()
.
Specifies the width of rasterized lines.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
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 Qt3DRender::QLineWidth::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
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* Qt3DRender::QLineWidth::qt_metacast(const char* arg1)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn set_smooth(&mut self, enabled: bool)
[src]
Access functions:
Calls C++ function: [slot] void Qt3DRender::QLineWidth::setSmooth(bool enabled)
.
Access functions:
bool | smooth() const |
void | setSmooth(bool enabled) |
Notifier signal:
void | smoothChanged(bool enabled) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn set_value(&mut self, value: c_float)
[src]
Specifies the width value to be used.
Calls C++ function: [slot] void Qt3DRender::QLineWidth::setValue(float value)
.
Specifies the width value to be used.
Access functions:
float | value() const |
void | setValue(float value) |
Notifier signal:
void | valueChanged(float value) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn smooth(&self) -> bool
[src]
Access functions:
Calls C++ function: bool Qt3DRender::QLineWidth::smooth() const
.
Access functions:
bool | smooth() const |
void | setSmooth(bool enabled) |
Notifier signal:
void | smoothChanged(bool enabled) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
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 Qt3DRender::QLineWidth::tr(const char* s, const char* c, int n)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
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 Qt3DRender::QLineWidth::trUtf8(const char* s, const char* c, int n)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn value(&self) -> c_float
[src]
Specifies the width value to be used.
Calls C++ function: float Qt3DRender::QLineWidth::value() const
.
Specifies the width value to be used.
Access functions:
float | value() const |
void | setValue(float value) |
Notifier signal:
void | valueChanged(float value) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
Methods from Deref<Target = QRenderState>
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QRenderState::metaObject() const
.
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 Qt3DRender::QRenderState::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* Qt3DRender::QRenderState::qt_metacast(const char* arg1)
.
Trait Implementations
impl CppDeletable for QLineWidth
[src]
unsafe fn delete(&mut self)
[src]
Destroys the instance of QLineWidth. The destructor is virtual.
Calls C++ function: virtual [destructor] void Qt3DRender::QLineWidth::~QLineWidth()
.
Destroys the instance of QLineWidth. The destructor is virtual.
impl Deref for QLineWidth
[src]
type Target = QRenderState
The resulting type after dereferencing.
fn deref(&self) -> &QRenderState
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QLineWidth* ptr)
.
impl DerefMut for QLineWidth
[src]
fn deref_mut(&mut self) -> &mut QRenderState
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QLineWidth* ptr)
.
impl DynamicCast<QLineWidth> for QRenderState
[src]
unsafe fn dynamic_cast(ptr: Ptr<QRenderState>) -> Ptr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* dynamic_cast<Qt3DRender::QLineWidth*>(Qt3DRender::QRenderState* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QRenderState>) -> MutPtr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* dynamic_cast<Qt3DRender::QLineWidth*>(Qt3DRender::QRenderState* ptr)
.
impl DynamicCast<QLineWidth> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* dynamic_cast<Qt3DRender::QLineWidth*>(Qt3DCore::QNode* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* dynamic_cast<Qt3DRender::QLineWidth*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QLineWidth> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* dynamic_cast<Qt3DRender::QLineWidth*>(QObject* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* dynamic_cast<Qt3DRender::QLineWidth*>(QObject* ptr)
.
impl StaticDowncast<QLineWidth> for QRenderState
[src]
unsafe fn static_downcast(ptr: Ptr<QRenderState>) -> Ptr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* static_cast<Qt3DRender::QLineWidth*>(Qt3DRender::QRenderState* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QRenderState>) -> MutPtr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* static_cast<Qt3DRender::QLineWidth*>(Qt3DRender::QRenderState* ptr)
.
impl StaticDowncast<QLineWidth> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* static_cast<Qt3DRender::QLineWidth*>(Qt3DCore::QNode* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* static_cast<Qt3DRender::QLineWidth*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QLineWidth> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* static_cast<Qt3DRender::QLineWidth*>(QObject* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QLineWidth>
[src]
Calls C++ function: Qt3DRender::QLineWidth* static_cast<Qt3DRender::QLineWidth*>(QObject* ptr)
.
impl StaticUpcast<QNode> for QLineWidth
[src]
unsafe fn static_upcast(ptr: Ptr<QLineWidth>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QLineWidth* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QLineWidth>) -> MutPtr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QLineWidth* ptr)
.
impl StaticUpcast<QObject> for QLineWidth
[src]
unsafe fn static_upcast(ptr: Ptr<QLineWidth>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QLineWidth* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QLineWidth>) -> MutPtr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QLineWidth* ptr)
.
impl StaticUpcast<QRenderState> for QLineWidth
[src]
unsafe fn static_upcast(ptr: Ptr<QLineWidth>) -> Ptr<QRenderState>
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QLineWidth* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QLineWidth>) -> MutPtr<QRenderState>
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QLineWidth* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QLineWidth
impl Send for QLineWidth
impl Sync for QLineWidth
impl Unpin for QLineWidth
impl UnwindSafe for QLineWidth
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>,