[−][src]Function qt_core::q_make_pair_2_q_cbor_value_ref
pub unsafe fn q_make_pair_2_q_cbor_value_ref(
x: impl CastInto<Ref<QCborValueRef>>,
y: impl CastInto<Ref<QCborValueRef>>
) -> CppBox<QPairOfQCborValueRefQCborValueRef>
Returns a QPair<T1, T2> that contains value1 and value2. Example:
Calls C++ function: QPair<QCborValueRef, QCborValueRef> qMakePair(const QCborValueRef& x, const QCborValueRef& y)
.
Returns a QPair<T1, T2> that contains value1 and value2. Example:
QList<QPair<int, double> > list; list.append(qMakePair(66, 3.14159));
This is equivalent to QPair<T1, T2>(value1, value2), but usually requires less typing.
This item is available if any(cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.