[][src]Struct qt_core::QCborError

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

C++ class: QCborError.

C++ documentation:

Methods

impl QCborError[src]

pub unsafe fn c(&self) -> Code[src]

Returns the value of the c field.

This item is available if any(cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn copy_from(
    &mut self,
    other: impl CastInto<Ref<QCborError>>
) -> MutRef<QCborError>
[src]

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

C++ documentation:

This item is available if any(cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn new() -> CppBox<QCborError>[src]

Calls C++ function: [constructor] void QCborError::QCborError().

C++ documentation:

This item is available if any(cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

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

Calls C++ function: [constructor] void QCborError::QCborError(const QCborError& other).

C++ documentation:

This item is available if any(cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn set_c(&mut self, value: Code)[src]

Sets the value of the c field.

This item is available if any(cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

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

Returns a reference to the staticMetaObject field.

This item is available if any(cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

pub unsafe fn to_code(&self) -> Code[src]

Calls C++ function: QCborError::Code QCborError::operator QCborError::Code() const.

This item is available if any(cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

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

Returns a text string that matches the error code in this QCborError object.

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

C++ documentation:

Returns a text string that matches the error code in this QCborError object.

Note: the string is not translated. Applications whose interface allow users to parse CBOR streams need to provide their own, translated strings.

See also QCborError::Code.

This item is available if any(cpp_lib_version="5.12.2", cpp_lib_version="5.13.0").

Trait Implementations

impl CppDeletable for QCborError[src]

unsafe fn delete(&mut self)[src]

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

C++ documentation:

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]