[−][src]Struct qt_core::QJsonParseError
The QJsonParseError class is used to report errors during JSON parsing.
C++ class: QJsonParseError
.
The QJsonParseError class is used to report errors during JSON parsing.
Methods
impl QJsonParseError
[src]
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<QJsonParseError>>
) -> MutRef<QJsonParseError>
[src]
&mut self,
other: impl CastInto<Ref<QJsonParseError>>
) -> MutRef<QJsonParseError>
The QJsonParseError class is used to report errors during JSON parsing.
Calls C++ function: QJsonParseError& QJsonParseError::operator=(const QJsonParseError& other)
.
The QJsonParseError class is used to report errors during JSON parsing.
pub unsafe fn error(&self) -> ParseError
[src]
Returns the value of the error
field.
pub unsafe fn error_string(&self) -> CppBox<QString>
[src]
Returns the human-readable message appropriate to the reported JSON parsing error.
Calls C++ function: QString QJsonParseError::errorString() const
.
Returns the human-readable message appropriate to the reported JSON parsing error.
See also error.
pub unsafe fn new() -> CppBox<QJsonParseError>
[src]
The QJsonParseError class is used to report errors during JSON parsing.
Calls C++ function: [constructor] void QJsonParseError::QJsonParseError()
.
The QJsonParseError class is used to report errors during JSON parsing.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QJsonParseError>>
) -> CppBox<QJsonParseError>
[src]
other: impl CastInto<Ref<QJsonParseError>>
) -> CppBox<QJsonParseError>
The QJsonParseError class is used to report errors during JSON parsing.
Calls C++ function: [constructor] void QJsonParseError::QJsonParseError(const QJsonParseError& other)
.
The QJsonParseError class is used to report errors during JSON parsing.
pub unsafe fn offset(&self) -> c_int
[src]
Returns the value of the offset
field.
pub unsafe fn set_error(&mut self, value: ParseError)
[src]
Sets the value of the error
field.
pub unsafe fn set_offset(&mut self, value: c_int)
[src]
Sets the value of the offset
field.
Trait Implementations
impl CppDeletable for QJsonParseError
[src]
unsafe fn delete(&mut self)
[src]
The QJsonParseError class is used to report errors during JSON parsing.
Calls C++ function: [destructor] void QJsonParseError::~QJsonParseError()
.
The QJsonParseError class is used to report errors during JSON parsing.
Auto Trait Implementations
impl Send for QJsonParseError
impl Sync for QJsonParseError
impl Unpin for QJsonParseError
impl UnwindSafe for QJsonParseError
impl RefUnwindSafe for QJsonParseError
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>,