[][src]Struct qt_3d_core::QAbstractAspect

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

QAbstractAspect is the base class for aspects that provide a vertical slice of behavior.

C++ class: Qt3DCore::QAbstractAspect.

C++ documentation:

QAbstractAspect is the base class for aspects that provide a vertical slice of behavior.

Methods

impl QAbstractAspect[src]

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

Calls C++ function: virtual const QMetaObject* Qt3DCore::QAbstractAspect::metaObject() const.

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

Constructs a new QAbstractAspect with parent

Calls C++ function: [constructor] void Qt3DCore::QAbstractAspect::QAbstractAspect(QObject* parent = …).

C++ documentation:

Constructs a new QAbstractAspect with parent

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

QAbstractAspect is the base class for aspects that provide a vertical slice of behavior.

Calls C++ function: [constructor] void Qt3DCore::QAbstractAspect::QAbstractAspect().

C++ documentation:

QAbstractAspect is the base class for aspects that provide a vertical slice of behavior.

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

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

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

Trait Implementations

impl CppDeletable for QAbstractAspect[src]

unsafe fn delete(&self)[src]

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

impl Deref for QAbstractAspect[src]

type Target = QObject

The resulting type after dereferencing.

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

Calls C++ function: QObject* static_cast<QObject*>(Qt3DCore::QAbstractAspect* ptr).

impl DynamicCast<QAbstractAspect> for QObject[src]

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

Calls C++ function: Qt3DCore::QAbstractAspect* dynamic_cast<Qt3DCore::QAbstractAspect*>(QObject* ptr).

impl StaticDowncast<QAbstractAspect> for QObject[src]

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

Calls C++ function: Qt3DCore::QAbstractAspect* static_cast<Qt3DCore::QAbstractAspect*>(QObject* ptr).

impl StaticUpcast<QObject> for QAbstractAspect[src]

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

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