[][src]Struct qt_core::QCborValueRef

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

C++ class: QCborValueRef.

Methods

impl QCborValueRef[src]

pub unsafe fn compare(&self, other: impl CastInto<Ref<QCborValue>>) -> c_int[src]

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

Calls C++ function: int QCborValueRef::compare(const QCborValue& other) const.

pub unsafe fn copy_from_q_cbor_value(
    &self,
    other: impl CastInto<Ref<QCborValue>>
) -> Ref<QCborValueRef>
[src]

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

Calls C++ function: QCborValueRef& QCborValueRef::operator=(const QCborValue& other).

pub unsafe fn copy_from_q_cbor_value_ref(
    &self,
    other: impl CastInto<Ref<QCborValueRef>>
) -> Ref<QCborValueRef>
[src]

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

Calls C++ function: QCborValueRef& QCborValueRef::operator=(const QCborValueRef& other).

pub unsafe fn index_q_string(
    &self,
    key: impl CastInto<Ref<QString>>
) -> CppBox<QCborValue>
[src]

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

If this QCborValueRef refers to a QCborMap, searches elements for the value whose key matches key. If there's no key matching key in the map or if this QCborValueRef object is not a map, returns the undefined value.

Calls C++ function: QCborValue QCborValueRef::operator[](const QString& key) const.

C++ documentation:

If this QCborValueRef refers to a QCborMap, searches elements for the value whose key matches key. If there's no key matching key in the map or if this QCborValueRef object is not a map, returns the undefined value.

This function is equivalent to:

value.toMap().value(key);

See also operator[](qint64), QCborMap::operator[], QCborMap::value(), and QCborMap::find().

pub unsafe fn index_q_latin1_string(
    &self,
    key: impl CastInto<Ref<QLatin1String>>
) -> CppBox<QCborValue>
[src]

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

This is an overloaded function.

Calls C++ function: QCborValue QCborValueRef::operator[](QLatin1String key) const.

C++ documentation:

This is an overloaded function.

If this QCborValueRef refers to a QCborMap, searches elements for the value whose key matches key. If there's no key matching key in the map or if this QCborValueRef object is not a map, returns the undefined value.

This function is equivalent to:

value.toMap().value(key);

See also operator[](qint64), QCborMap::operator[], QCborMap::value(), and QCborMap::find().

pub unsafe fn index_i64(&self, key: i64) -> CppBox<QCborValue>[src]

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

This is an overloaded function.

Calls C++ function: QCborValue QCborValueRef::operator[](qint64 key) const.

C++ documentation:

This is an overloaded function.

If this QCborValueRef refers to a QCborMap, searches elements for the value whose key matches key. If this is a QCborArray, returns the element whose index is key. If there's no matching value in the array or map, or if this QCborValueRef object is not an array or map, returns the undefined value.

See also operator[], QCborMap::operator[], QCborMap::value(), QCborMap::find(), QCborArray::operator[], and QCborArray::at().

pub unsafe fn index_i64_mut(&self, key: i64) -> CppBox<QCborValueRef>[src]

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

This is an overloaded function.

Calls C++ function: QCborValueRef QCborValueRef::operator[](qint64 key).

C++ documentation:

This is an overloaded function.

Returns a QCborValueRef that can be used to read or modify the entry in this, as a map or array, with the given key. When this QCborValue is a QCborMap or, for 0 <= key < 0x10000, a QCborArray, this function is equivalent to the matching operator[] on that map or array.

Before returning the reference: if the QCborValue referenced was an array but the key is out of range, the array is first converted to a map (so that map[i] is array[i] for each index, i, with valid array[i]); otherwise, if it was not a map it will be over-written with an empty map.

See also operator[], QCborMap::operator[], QCborMap::value(), QCborMap::find(), QCborArray::operator[], and QCborArray::at().

pub unsafe fn index_q_latin1_string_mut(
    &self,
    key: impl CastInto<Ref<QLatin1String>>
) -> CppBox<QCborValueRef>
[src]

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

This is an overloaded function.

Calls C++ function: QCborValueRef QCborValueRef::operator[](QLatin1String key).

C++ documentation:

This is an overloaded function.

Returns a QCborValueRef that can be used to read or modify the entry in this, as a map, with the given key. When this QCborValue is a QCborMap, this function is equivalent to the matching operator[] on that map.

Before returning the reference: if the QCborValue referenced was an array, it is first converted to a map (so that map[i] is array[i] for each index, i, with valid array[i]); otherwise, if it was not a map it will be over-written with an empty map.

See also operator[](qint64), QCborMap::operator[], QCborMap::value(), and QCborMap::find().

pub unsafe fn index_q_string_mut(
    &self,
    key: impl CastInto<Ref<QString>>
) -> CppBox<QCborValueRef>
[src]

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

Returns a QCborValueRef that can be used to read or modify the entry in this, as a map, with the given key. When this QCborValueRef refers to a QCborMap, this function is equivalent to the matching operator[] on that map.

Calls C++ function: QCborValueRef QCborValueRef::operator[](const QString& key).

C++ documentation:

Returns a QCborValueRef that can be used to read or modify the entry in this, as a map, with the given key. When this QCborValueRef refers to a QCborMap, this function is equivalent to the matching operator[] on that map.

Before returning the reference: if the QCborValue referenced was an array, it is first converted to a map (so that map[i] is array[i] for each index, i, with valid array[i]); otherwise, if it was not a map it will be over-written with an empty map.

See also operator[](qint64), QCborMap::operator[], QCborMap::value(), and QCborMap::find().

pub unsafe fn is_array(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isArray() const.

pub unsafe fn is_bool(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isBool() const.

pub unsafe fn is_byte_array(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isByteArray() const.

pub unsafe fn is_container(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isContainer() const.

pub unsafe fn is_date_time(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isDateTime() const.

pub unsafe fn is_double(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isDouble() const.

pub unsafe fn is_false(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isFalse() const.

pub unsafe fn is_integer(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isInteger() const.

pub unsafe fn is_invalid(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isInvalid() const.

pub unsafe fn is_map(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isMap() const.

pub unsafe fn is_null(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isNull() const.

pub unsafe fn is_regular_expression(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isRegularExpression() const.

pub unsafe fn is_simple_type_0a(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isSimpleType() const.

pub unsafe fn is_simple_type_1a(&self, st: QCborSimpleType) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isSimpleType(QCborSimpleType st) const.

pub unsafe fn is_string(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isString() const.

pub unsafe fn is_tag(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isTag() const.

pub unsafe fn is_true(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isTrue() const.

pub unsafe fn is_undefined(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isUndefined() const.

pub unsafe fn is_url(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isUrl() const.

pub unsafe fn is_uuid(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::isUuid() const.

pub unsafe fn new_copy(
    arg1: impl CastInto<Ref<QCborValueRef>>
) -> CppBox<QCborValueRef>
[src]

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

Calls C++ function: [constructor] void QCborValueRef::QCborValueRef(const QCborValueRef& arg1).

pub unsafe fn tag_1a(&self, default_value: QCborTag) -> QCborTag[src]

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

Calls C++ function: QCborTag QCborValueRef::tag(QCborTag defaultValue = …) const.

pub unsafe fn tag_0a(&self) -> QCborTag[src]

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

Calls C++ function: QCborTag QCborValueRef::tag() const.

pub unsafe fn tagged_value_1a(
    &self,
    default_value: impl CastInto<Ref<QCborValue>>
) -> CppBox<QCborValue>
[src]

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

Calls C++ function: QCborValue QCborValueRef::taggedValue(const QCborValue& defaultValue = …) const.

pub unsafe fn tagged_value_0a(&self) -> CppBox<QCborValue>[src]

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

Calls C++ function: QCborValue QCborValueRef::taggedValue() const.

pub unsafe fn to_array_0a(&self) -> CppBox<QCborArray>[src]

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

Calls C++ function: QCborArray QCborValueRef::toArray() const.

pub unsafe fn to_array_1a(
    &self,
    a: impl CastInto<Ref<QCborArray>>
) -> CppBox<QCborArray>
[src]

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

Calls C++ function: QCborArray QCborValueRef::toArray(const QCborArray& a) const.

pub unsafe fn to_bool_1a(&self, default_value: bool) -> bool[src]

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

Calls C++ function: bool QCborValueRef::toBool(bool defaultValue = …) const.

pub unsafe fn to_bool_0a(&self) -> bool[src]

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

Calls C++ function: bool QCborValueRef::toBool() const.

pub unsafe fn to_byte_array_1a(
    &self,
    default_value: impl CastInto<Ref<QByteArray>>
) -> CppBox<QByteArray>
[src]

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

Calls C++ function: QByteArray QCborValueRef::toByteArray(const QByteArray& defaultValue = …) const.

pub unsafe fn to_byte_array_0a(&self) -> CppBox<QByteArray>[src]

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

Calls C++ function: QByteArray QCborValueRef::toByteArray() const.

pub unsafe fn to_cbor_q_flags_encoding_option(
    &self,
    opt: QFlags<EncodingOption>
) -> CppBox<QByteArray>
[src]

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

Calls C++ function: QByteArray QCborValueRef::toCbor(QFlags<QCborValue::EncodingOption> opt = …).

pub unsafe fn to_cbor_q_cbor_stream_writer_q_flags_encoding_option(
    &self,
    writer: impl CastInto<Ref<QCborStreamWriter>>,
    opt: QFlags<EncodingOption>
)
[src]

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

Calls C++ function: void QCborValueRef::toCbor(QCborStreamWriter& writer, QFlags<QCborValue::EncodingOption> opt = …).

pub unsafe fn to_cbor(&self) -> CppBox<QByteArray>[src]

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

Calls C++ function: QByteArray QCborValueRef::toCbor().

pub unsafe fn to_cbor_q_cbor_stream_writer(
    &self,
    writer: impl CastInto<Ref<QCborStreamWriter>>
)
[src]

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

Calls C++ function: void QCborValueRef::toCbor(QCborStreamWriter& writer).

pub unsafe fn to_date_time_1a(
    &self,
    default_value: impl CastInto<Ref<QDateTime>>
) -> CppBox<QDateTime>
[src]

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

Calls C++ function: QDateTime QCborValueRef::toDateTime(const QDateTime& defaultValue = …) const.

pub unsafe fn to_date_time_0a(&self) -> CppBox<QDateTime>[src]

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

Calls C++ function: QDateTime QCborValueRef::toDateTime() const.

pub unsafe fn to_diagnostic_notation_1a(
    &self,
    opt: QFlags<DiagnosticNotationOption>
) -> CppBox<QString>
[src]

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

Calls C++ function: QString QCborValueRef::toDiagnosticNotation(QFlags<QCborValue::DiagnosticNotationOption> opt = …).

pub unsafe fn to_diagnostic_notation_0a(&self) -> CppBox<QString>[src]

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

Calls C++ function: QString QCborValueRef::toDiagnosticNotation().

pub unsafe fn to_double_1a(&self, default_value: c_double) -> c_double[src]

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

Calls C++ function: double QCborValueRef::toDouble(double defaultValue = …) const.

pub unsafe fn to_double_0a(&self) -> c_double[src]

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

Calls C++ function: double QCborValueRef::toDouble() const.

pub unsafe fn to_integer_1a(&self, default_value: i64) -> i64[src]

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

Calls C++ function: qint64 QCborValueRef::toInteger(qint64 defaultValue = …) const.

pub unsafe fn to_integer_0a(&self) -> i64[src]

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

Calls C++ function: qint64 QCborValueRef::toInteger() const.

pub unsafe fn to_json_value(&self) -> CppBox<QJsonValue>[src]

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

Calls C++ function: QJsonValue QCborValueRef::toJsonValue() const.

pub unsafe fn to_map_0a(&self) -> CppBox<QCborMap>[src]

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

Calls C++ function: QCborMap QCborValueRef::toMap() const.

pub unsafe fn to_map_1a(
    &self,
    m: impl CastInto<Ref<QCborMap>>
) -> CppBox<QCborMap>
[src]

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

Calls C++ function: QCborMap QCborValueRef::toMap(const QCborMap& m) const.

pub unsafe fn to_q_cbor_value(&self) -> CppBox<QCborValue>[src]

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

Calls C++ function: QCborValue QCborValueRef::operator QCborValue() const.

pub unsafe fn to_regular_expression_1a(
    &self,
    default_value: impl CastInto<Ref<QRegularExpression>>
) -> CppBox<QRegularExpression>
[src]

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

Calls C++ function: QRegularExpression QCborValueRef::toRegularExpression(const QRegularExpression& defaultValue = …) const.

pub unsafe fn to_regular_expression_0a(&self) -> CppBox<QRegularExpression>[src]

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

Calls C++ function: QRegularExpression QCborValueRef::toRegularExpression() const.

pub unsafe fn to_string_1a(
    &self,
    default_value: impl CastInto<Ref<QString>>
) -> CppBox<QString>
[src]

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

Calls C++ function: QString QCborValueRef::toString(const QString& defaultValue = …) const.

pub unsafe fn to_string_0a(&self) -> CppBox<QString>[src]

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

Calls C++ function: QString QCborValueRef::toString() const.

pub unsafe fn to_url_1a(
    &self,
    default_value: impl CastInto<Ref<QUrl>>
) -> CppBox<QUrl>
[src]

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

Calls C++ function: QUrl QCborValueRef::toUrl(const QUrl& defaultValue = …) const.

pub unsafe fn to_url_0a(&self) -> CppBox<QUrl>[src]

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

Calls C++ function: QUrl QCborValueRef::toUrl() const.

pub unsafe fn to_uuid_1a(
    &self,
    default_value: impl CastInto<Ref<QUuid>>
) -> CppBox<QUuid>
[src]

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

Calls C++ function: QUuid QCborValueRef::toUuid(const QUuid& defaultValue = …) const.

pub unsafe fn to_uuid_0a(&self) -> CppBox<QUuid>[src]

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

Calls C++ function: QUuid QCborValueRef::toUuid() const.

pub unsafe fn to_variant(&self) -> CppBox<QVariant>[src]

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

Calls C++ function: QVariant QCborValueRef::toVariant() const.

pub unsafe fn type_(&self) -> Type[src]

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

Calls C++ function: QCborValue::Type QCborValueRef::type() const.

Trait Implementations

impl CppDeletable for QCborValueRef[src]

unsafe fn delete(&self)[src]

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

impl Lt<Ref<QCborValue>> for QCborValueRef[src]

unsafe fn lt(&self, other: &Ref<QCborValue>) -> bool[src]

Calls C++ function: bool QCborValueRef::operator<(const QCborValue& other) const.

impl PartialEq<Ref<QCborValue>> for QCborValueRef[src]

fn eq(&self, other: &Ref<QCborValue>) -> bool[src]

Calls C++ function: bool QCborValueRef::operator==(const QCborValue& other) const.

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.