[−][src]Function qt_core::q_make_pair_2_q_cbor_value
pub unsafe fn q_make_pair_2_q_cbor_value(
x: impl CastInto<Ref<QCborValue>>,
y: impl CastInto<Ref<QCborValue>>
) -> CppBox<QPairOfQCborValueQCborValue>
Returns a QPair<T1, T2> that contains value1 and value2. Example:
Calls C++ function: QPair<QCborValue, QCborValue> qMakePair(const QCborValue& x, const QCborValue& 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")
.