[][src]Struct qt_3d_core::SignalOfQAbstractSkeleton

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

Emits a Qt signal with arguments *mut crate::QAbstractSkeleton.

Corresponding C++ argument types: (Qt3DCore::QAbstractSkeleton*).

Use connect() method of this object to connect this signal to a slot. Use emit() method to emit the signal.

Methods

impl SignalOfQAbstractSkeleton[src]

pub unsafe fn connect_with_type<R>(
    &self,
    connection_type: ConnectionType,
    receiver: R
) -> CppBox<Connection> where
    R: AsReceiver,
    (*mut QAbstractSkeleton,): ArgumentsCompatible<R::Arguments>, 
[src]

This is supported on cpp_lib_version="5.14.0" or cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" only.

Connects this signal to another signal or slot.

This is a shortcut for self.signal().connect(receiver).

pub unsafe fn connect<R>(&self, receiver: R) -> CppBox<Connection> where
    R: AsReceiver,
    (*mut QAbstractSkeleton,): ArgumentsCompatible<R::Arguments>, 
[src]

This is supported on cpp_lib_version="5.14.0" or cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" only.

Connects this signal to another signal or slot, using auto connection type.

This is a shortcut for self.signal().connect(receiver).

impl SignalOfQAbstractSkeleton[src]

pub fn signal(&self) -> Signal<(*mut QAbstractSkeleton,)>[src]

This is supported on cpp_lib_version="5.14.0" or cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" only.

Returns a Signal object representing the signal.

This method is useful if you need to connect another signal to this signal. However, when you need to connect this signal to another signal or slot, it's simpler to use the connect() method of this object directly.

pub unsafe fn emit(&self, arg0: impl CastInto<Ptr<QAbstractSkeleton>>)[src]

This is supported on cpp_lib_version="5.14.0" or cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" only.

Emits the signal.

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

This is supported on cpp_lib_version="5.14.0" or cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" only.

pub unsafe fn new() -> QBox<SignalOfQAbstractSkeleton>[src]

This is supported on cpp_lib_version="5.14.0" or cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" only.

Creates a new object.

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

This is supported on cpp_lib_version="5.14.0" or cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" only.

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

This is supported on cpp_lib_version="5.14.0" or cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" only.

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

This is supported on cpp_lib_version="5.14.0" or cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" only.

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

This is supported on cpp_lib_version="5.14.0" or cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" only.

pub unsafe fn tr_utf8(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

This is supported on cpp_lib_version="5.14.0" or cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" only.

Trait Implementations

impl AsReceiver for SignalOfQAbstractSkeleton[src]

type Arguments = (*mut QAbstractSkeleton,)

Argument types expected by this receiver.

impl CppDeletable for SignalOfQAbstractSkeleton[src]

unsafe fn delete(&self)[src]

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

impl Deref for SignalOfQAbstractSkeleton[src]

type Target = QObject

The resulting type after dereferencing.

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

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

impl DynamicCast<SignalOfQAbstractSkeleton> for QObject[src]

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

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

impl StaticDowncast<SignalOfQAbstractSkeleton> for QObject[src]

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

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

impl StaticUpcast<QObject> for SignalOfQAbstractSkeleton[src]

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

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