Struct QQmlExtensionInterface

Source
#[repr(C)]
pub struct QQmlExtensionInterface { /* private fields */ }
Expand description

C++ class: QQmlExtensionInterface.

Implementations§

Source§

impl QQmlExtensionInterface

Source

pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QQmlExtensionInterface>>, ) -> Ref<QQmlExtensionInterface>

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

Source

pub unsafe fn initialize_engine( &self, engine: impl CastInto<Ptr<QQmlEngine>>, uri: *const c_char, )

Calls C++ function: pure virtual void QQmlExtensionInterface::initializeEngine(QQmlEngine* engine, const char* uri).

Methods from Deref<Target = QQmlTypesExtensionInterface>§

Source

pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QQmlTypesExtensionInterface>>, ) -> Ref<QQmlTypesExtensionInterface>

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

Source

pub unsafe fn register_types(&self, uri: *const c_char)

Calls C++ function: pure virtual void QQmlTypesExtensionInterface::registerTypes(const char* uri).

Trait Implementations§

Source§

impl CppDeletable for QQmlExtensionInterface

Source§

unsafe fn delete(&self)

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

Source§

impl Deref for QQmlExtensionInterface

Source§

fn deref(&self) -> &QQmlTypesExtensionInterface

Calls C++ function: QQmlTypesExtensionInterface* static_cast<QQmlTypesExtensionInterface*>(QQmlExtensionInterface* ptr).

Source§

type Target = QQmlTypesExtensionInterface

The resulting type after dereferencing.
Source§

impl DynamicCast<QQmlExtensionInterface> for QQmlTypesExtensionInterface

Source§

unsafe fn dynamic_cast( ptr: Ptr<QQmlTypesExtensionInterface>, ) -> Ptr<QQmlExtensionInterface>

Calls C++ function: QQmlExtensionInterface* dynamic_cast<QQmlExtensionInterface*>(QQmlTypesExtensionInterface* ptr).

Source§

impl DynamicCast<QQmlExtensionPlugin> for QQmlExtensionInterface

Source§

unsafe fn dynamic_cast( ptr: Ptr<QQmlExtensionInterface>, ) -> Ptr<QQmlExtensionPlugin>

Calls C++ function: QQmlExtensionPlugin* dynamic_cast<QQmlExtensionPlugin*>(QQmlExtensionInterface* ptr).

Source§

impl StaticDowncast<QQmlExtensionInterface> for QQmlTypesExtensionInterface

Source§

unsafe fn static_downcast( ptr: Ptr<QQmlTypesExtensionInterface>, ) -> Ptr<QQmlExtensionInterface>

Calls C++ function: QQmlExtensionInterface* static_cast<QQmlExtensionInterface*>(QQmlTypesExtensionInterface* ptr).

Source§

impl StaticDowncast<QQmlExtensionPlugin> for QQmlExtensionInterface

Source§

unsafe fn static_downcast( ptr: Ptr<QQmlExtensionInterface>, ) -> Ptr<QQmlExtensionPlugin>

Calls C++ function: QQmlExtensionPlugin* static_cast<QQmlExtensionPlugin*>(QQmlExtensionInterface* ptr).

Source§

impl StaticUpcast<QQmlExtensionInterface> for QQmlExtensionPlugin

Source§

unsafe fn static_upcast( ptr: Ptr<QQmlExtensionPlugin>, ) -> Ptr<QQmlExtensionInterface>

Calls C++ function: QQmlExtensionInterface* static_cast<QQmlExtensionInterface*>(QQmlExtensionPlugin* ptr).

Source§

impl StaticUpcast<QQmlTypesExtensionInterface> for QQmlExtensionInterface

Source§

unsafe fn static_upcast( ptr: Ptr<QQmlExtensionInterface>, ) -> Ptr<QQmlTypesExtensionInterface>

Calls C++ function: QQmlTypesExtensionInterface* static_cast<QQmlTypesExtensionInterface*>(QQmlExtensionInterface* ptr).

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.