pub struct QCborParserError { /* private fields */ }Expand description
C++ class: QCborParserError.
Implementations§
Source§impl QCborParserError
impl QCborParserError
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QCborParserError>>,
) -> Ref<QCborParserError>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QCborParserError>>, ) -> Ref<QCborParserError>
Calls C++ function: QCborParserError& QCborParserError::operator=(const QCborParserError& other).
Sourcepub unsafe fn error(&self) -> Ref<QCborError>
pub unsafe fn error(&self) -> Ref<QCborError>
Returns a reference to the error field.
Sourcepub unsafe fn error_mut(&self) -> Ref<QCborError>
pub unsafe fn error_mut(&self) -> Ref<QCborError>
Returns a mutable reference to the error field.
Sourcepub unsafe fn error_string(&self) -> CppBox<QString>
pub unsafe fn error_string(&self) -> CppBox<QString>
Calls C++ function: QString QCborParserError::errorString() const.
Sourcepub unsafe fn new() -> CppBox<QCborParserError>
pub unsafe fn new() -> CppBox<QCborParserError>
Calls C++ function: [constructor] void QCborParserError::QCborParserError().
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QCborParserError>>,
) -> CppBox<QCborParserError>
pub unsafe fn new_copy( other: impl CastInto<Ref<QCborParserError>>, ) -> CppBox<QCborParserError>
Calls C++ function: [constructor] void QCborParserError::QCborParserError(const QCborParserError& other).
Sourcepub unsafe fn offset(&self) -> c_longlong
pub unsafe fn offset(&self) -> c_longlong
Returns the value of the offset field.
Sourcepub unsafe fn set_error(&self, value: impl CastInto<Ref<QCborError>>)
pub unsafe fn set_error(&self, value: impl CastInto<Ref<QCborError>>)
Sets the value of the error field.
Sourcepub unsafe fn set_offset(&self, value: c_longlong)
pub unsafe fn set_offset(&self, value: c_longlong)
Sets the value of the offset field.
Trait Implementations§
Source§impl CppDeletable for QCborParserError
impl CppDeletable for QCborParserError
Auto Trait Implementations§
impl Freeze for QCborParserError
impl RefUnwindSafe for QCborParserError
impl Send for QCborParserError
impl Sync for QCborParserError
impl Unpin for QCborParserError
impl UnsafeUnpin for QCborParserError
impl UnwindSafe for QCborParserError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more