[−][src]Struct qt_core::QCborError
C++ class: QCborError
.
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]
&mut self,
other: impl CastInto<Ref<QCborError>>
) -> MutRef<QCborError>
Calls C++ function: QCborError& QCborError::operator=(const QCborError& other)
.
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()
.
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]
other: impl CastInto<Ref<QCborError>>
) -> CppBox<QCborError>
Calls C++ function: [constructor] void QCborError::QCborError(const QCborError& other)
.
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
.
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]
Auto Trait Implementations
impl Send for QCborError
impl Sync for QCborError
impl Unpin for QCborError
impl UnwindSafe for QCborError
impl RefUnwindSafe for QCborError
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,