[][src]Struct qt_qml::QQmlPropertyValueSource

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

See Property Value Sources for information on writing custom property value sources.

C++ class: QQmlPropertyValueSource.

C++ documentation:

See Property Value Sources for information on writing custom property value sources.

Methods

impl QQmlPropertyValueSource[src]

pub unsafe fn copy_from(
    &self,
    other: impl CastInto<Ref<QQmlPropertyValueSource>>
) -> Ref<QQmlPropertyValueSource>
[src]

See Property Value Sources for information on writing custom property value sources.

Calls C++ function: QQmlPropertyValueSource& QQmlPropertyValueSource::operator=(const QQmlPropertyValueSource& other).

C++ documentation:

See Property Value Sources for information on writing custom property value sources.

pub unsafe fn set_target(&self, arg1: impl CastInto<Ref<QQmlProperty>>)[src]

Set the target property for the value source. This method will be called by the QML engine when assigning a value source.

Calls C++ function: pure virtual void QQmlPropertyValueSource::setTarget(const QQmlProperty& arg1).

C++ documentation:

Set the target property for the value source. This method will be called by the QML engine when assigning a value source.

Trait Implementations

impl CppDeletable for QQmlPropertyValueSource[src]

unsafe fn delete(&self)[src]

Destroys the value source.

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

C++ documentation:

Destroys the value source.

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.