[−][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]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.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) |
pub fn slot_set_smooth(&self) -> Receiver<(bool,)>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.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) |
pub fn value_changed(&self) -> Signal<(c_float,)>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.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) |
pub fn smooth_changed(&self) -> Signal<(bool,)>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.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) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: virtual const QMetaObject* Qt3DRender::QLineWidth::metaObject() const
.
pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QLineWidth>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Default constructs an instance of QLineWidth.
Calls C++ function: [constructor] void Qt3DRender::QLineWidth::QLineWidth(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QLineWidth.
pub unsafe fn new_0a() -> QBox<QLineWidth>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Specifies the width of rasterized lines.
Calls C++ function: [constructor] void Qt3DRender::QLineWidth::QLineWidth()
.
Specifies the width of rasterized lines.
pub unsafe fn qt_metacall(
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
[src]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: virtual int Qt3DRender::QLineWidth::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: virtual void* Qt3DRender::QLineWidth::qt_metacast(const char* arg1)
.
pub unsafe fn set_smooth(&self, enabled: bool)
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.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) |
pub unsafe fn set_value(&self, value: c_float)
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.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) |
pub unsafe fn smooth(&self) -> bool
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.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) |
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: static QString Qt3DRender::QLineWidth::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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: static QString Qt3DRender::QLineWidth::trUtf8(const char* s, const char* c, int n)
.
pub unsafe fn value(&self) -> c_float
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.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) |
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(
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
[src]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *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(&self, arg1: *const c_char) -> *mut c_void
[src]
Calls C++ function: virtual void* Qt3DRender::QRenderState::qt_metacast(const char* arg1)
.
Trait Implementations
impl CppDeletable for QLineWidth
[src]
unsafe fn delete(&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 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)
.
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)
.
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)
.
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)
.
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)
.
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)
.
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)
.
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)
.
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)
.
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]
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>,