[][src]Struct qt_3d_render::QFilterKey

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

The QFilterKey class provides storage for filter keys and their values.

C++ class: Qt3DRender::QFilterKey.

C++ documentation:

The QFilterKey class provides storage for filter keys and their values.

Filter keys are used by QTechnique and QRenderPass to specify at which stage of rendering the technique or the render pass is used.

Methods

impl QFilterKey[src]

pub fn slot_set_value(&self) -> Receiver<(*const QVariant,)>[src]

Holds the value of the filter key.

Returns a built-in Qt slot Qt3DRender::QFilterKey::setValue that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the value of the filter key.

Access functions:

QVariant value() const
void setValue(const QVariant &value)

Notifier signal:

void valueChanged(const QVariant &value)

pub fn slot_set_name(&self) -> Receiver<(*const QString,)>[src]

Holds the name of the filter key.

Returns a built-in Qt slot Qt3DRender::QFilterKey::setName that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the name of the filter key.

Access functions:

QString name() const
void setName(const QString &customType)

Notifier signal:

void nameChanged(const QString &name)

pub fn name_changed(&self) -> Signal<(*const QString,)>[src]

Holds the name of the filter key.

Returns a built-in Qt signal Qt3DRender::QFilterKey::nameChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the name of the filter key.

Access functions:

QString name() const
void setName(const QString &customType)

Notifier signal:

void nameChanged(const QString &name)

pub fn value_changed(&self) -> Signal<(*const QVariant,)>[src]

Holds the value of the filter key.

Returns a built-in Qt signal Qt3DRender::QFilterKey::valueChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the value of the filter key.

Access functions:

QVariant value() const
void setValue(const QVariant &value)

Notifier signal:

void valueChanged(const QVariant &value)

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

Calls C++ function: virtual const QMetaObject* Qt3DRender::QFilterKey::metaObject() const.

pub unsafe fn name(&self) -> CppBox<QString>[src]

Holds the name of the filter key.

Calls C++ function: QString Qt3DRender::QFilterKey::name() const.

C++ documentation:

Holds the name of the filter key.

Access functions:

QString name() const
void setName(const QString &customType)

Notifier signal:

void nameChanged(const QString &name)

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

Default constructs an instance of QFilterKey.

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

C++ documentation:

Default constructs an instance of QFilterKey.

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

The QFilterKey class provides storage for filter keys and their values.

Calls C++ function: [constructor] void Qt3DRender::QFilterKey::QFilterKey().

C++ documentation:

The QFilterKey class provides storage for filter keys and their values.

Filter keys are used by QTechnique and QRenderPass to specify at which stage of rendering the technique or the render pass is used.

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

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

pub unsafe fn set_name(&self, custom_type: impl CastInto<Ref<QString>>)[src]

Holds the name of the filter key.

Calls C++ function: [slot] void Qt3DRender::QFilterKey::setName(const QString& customType).

C++ documentation:

Holds the name of the filter key.

Access functions:

QString name() const
void setName(const QString &customType)

Notifier signal:

void nameChanged(const QString &name)

pub unsafe fn set_value(&self, value: impl CastInto<Ref<QVariant>>)[src]

Holds the value of the filter key.

Calls C++ function: [slot] void Qt3DRender::QFilterKey::setValue(const QVariant& value).

C++ documentation:

Holds the value of the filter key.

Access functions:

QVariant value() const
void setValue(const QVariant &value)

Notifier signal:

void valueChanged(const QVariant &value)

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

pub unsafe fn value(&self) -> CppBox<QVariant>[src]

Holds the value of the filter key.

Calls C++ function: QVariant Qt3DRender::QFilterKey::value() const.

C++ documentation:

Holds the value of the filter key.

Access functions:

QVariant value() const
void setValue(const QVariant &value)

Notifier signal:

void valueChanged(const QVariant &value)

Trait Implementations

impl CppDeletable for QFilterKey[src]

unsafe fn delete(&self)[src]

Destroys the instance of QFilterKey.

Calls C++ function: virtual [destructor] void Qt3DRender::QFilterKey::~QFilterKey().

C++ documentation:

Destroys the instance of QFilterKey.

impl Deref for QFilterKey[src]

type Target = QNode

The resulting type after dereferencing.

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

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QFilterKey* ptr).

impl DynamicCast<QFilterKey> for QNode[src]

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

Calls C++ function: Qt3DRender::QFilterKey* dynamic_cast<Qt3DRender::QFilterKey*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QFilterKey> for QObject[src]

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

Calls C++ function: Qt3DRender::QFilterKey* dynamic_cast<Qt3DRender::QFilterKey*>(QObject* ptr).

impl StaticDowncast<QFilterKey> for QNode[src]

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

Calls C++ function: Qt3DRender::QFilterKey* static_cast<Qt3DRender::QFilterKey*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QFilterKey> for QObject[src]

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

Calls C++ function: Qt3DRender::QFilterKey* static_cast<Qt3DRender::QFilterKey*>(QObject* ptr).

impl StaticUpcast<QNode> for QFilterKey[src]

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

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QFilterKey* ptr).

impl StaticUpcast<QObject> for QFilterKey[src]

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

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