[−][src]Struct qt_3d_render::SignalOfDepthFunction
Emits a Qt signal with arguments crate::q_depth_test::DepthFunction
.
Corresponding C++ argument types: (Qt3DRender::QDepthTest::DepthFunction
).
Use connect()
method of this object to connect this signal to a slot. Use emit()
method to emit the signal.
Methods
impl SignalOfDepthFunction
[src]
pub unsafe fn connect<R>(&self, receiver: R) -> CppBox<Connection> where
R: AsReceiver,
(DepthFunction,): ArgumentsCompatible<R::Arguments>,
[src]
R: AsReceiver,
(DepthFunction,): ArgumentsCompatible<R::Arguments>,
Connects this signal to another signal or slot.
This is a shortcut for self.signal().connect(receiver)
.
impl SignalOfDepthFunction
[src]
pub fn signal(&self) -> Signal<(DepthFunction,)>
[src]
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(&mut self, arg0: DepthFunction)
[src]
Emits the signal.
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
pub unsafe fn new() -> QBox<SignalOfDepthFunction>
[src]
Creates a new object.
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
pub unsafe fn tr(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
pub unsafe fn tr_utf8(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Trait Implementations
impl AsReceiver for SignalOfDepthFunction
[src]
type Arguments = (DepthFunction,)
fn as_receiver(&self) -> Receiver<Self::Arguments>
[src]
impl CppDeletable for SignalOfDepthFunction
[src]
unsafe fn delete(&mut self)
[src]
Calls C++ function: [destructor] void ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction::~ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction()
.
impl Deref for SignalOfDepthFunction
[src]
type Target = QObject
The resulting type after dereferencing.
fn deref(&self) -> &QObject
[src]
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction* ptr)
.
impl DerefMut for SignalOfDepthFunction
[src]
fn deref_mut(&mut self) -> &mut QObject
[src]
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction* ptr)
.
impl DynamicCast<SignalOfDepthFunction> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfDepthFunction>
[src]
Calls C++ function: ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction* dynamic_cast<ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction*>(QObject* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QObject>
) -> MutPtr<SignalOfDepthFunction>
[src]
ptr: MutPtr<QObject>
) -> MutPtr<SignalOfDepthFunction>
Calls C++ function: ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction* dynamic_cast<ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction*>(QObject* ptr)
.
impl StaticDowncast<SignalOfDepthFunction> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfDepthFunction>
[src]
Calls C++ function: ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction* static_cast<ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction*>(QObject* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QObject>
) -> MutPtr<SignalOfDepthFunction>
[src]
ptr: MutPtr<QObject>
) -> MutPtr<SignalOfDepthFunction>
Calls C++ function: ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction* static_cast<ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction*>(QObject* ptr)
.
impl StaticUpcast<QObject> for SignalOfDepthFunction
[src]
unsafe fn static_upcast(ptr: Ptr<SignalOfDepthFunction>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<SignalOfDepthFunction>
) -> MutPtr<QObject>
[src]
ptr: MutPtr<SignalOfDepthFunction>
) -> MutPtr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_3d_render_ffi_signal_wrapper_Qt3DRender_QDepthTest_DepthFunction* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for SignalOfDepthFunction
impl Send for SignalOfDepthFunction
impl Sync for SignalOfDepthFunction
impl Unpin for SignalOfDepthFunction
impl UnwindSafe for SignalOfDepthFunction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,