#[repr(C)]pub struct QQmlInfo { /* private fields */ }
Expand description
C++ class: QQmlInfo
.
Implementations§
Source§impl QQmlInfo
impl QQmlInfo
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QQmlInfo>>,
) -> Ref<QQmlInfo>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QQmlInfo>>, ) -> Ref<QQmlInfo>
Calls C++ function: QQmlInfo& QQmlInfo::operator=(const QQmlInfo& other)
.
Sourcepub unsafe fn new_copy(arg1: impl CastInto<Ref<QQmlInfo>>) -> CppBox<QQmlInfo>
pub unsafe fn new_copy(arg1: impl CastInto<Ref<QQmlInfo>>) -> CppBox<QQmlInfo>
Calls C++ function: [constructor] void QQmlInfo::QQmlInfo(const QQmlInfo& arg1)
.
Sourcepub unsafe fn shl_short(&self, t: c_short) -> Ref<QQmlInfo>
pub unsafe fn shl_short(&self, t: c_short) -> Ref<QQmlInfo>
Calls C++ function: QQmlInfo& QQmlInfo::operator<<(short t)
.
Sourcepub unsafe fn shl_ushort(&self, t: c_ushort) -> Ref<QQmlInfo>
pub unsafe fn shl_ushort(&self, t: c_ushort) -> Ref<QQmlInfo>
Calls C++ function: QQmlInfo& QQmlInfo::operator<<(unsigned short t)
.
Sourcepub unsafe fn shl_int(&self, t: c_int) -> Ref<QQmlInfo>
pub unsafe fn shl_int(&self, t: c_int) -> Ref<QQmlInfo>
Calls C++ function: QQmlInfo& QQmlInfo::operator<<(int t)
.
Sourcepub unsafe fn shl_uint(&self, t: c_uint) -> Ref<QQmlInfo>
pub unsafe fn shl_uint(&self, t: c_uint) -> Ref<QQmlInfo>
Calls C++ function: QQmlInfo& QQmlInfo::operator<<(unsigned int t)
.
Sourcepub unsafe fn shl_long(&self, t: c_long) -> Ref<QQmlInfo>
pub unsafe fn shl_long(&self, t: c_long) -> Ref<QQmlInfo>
Calls C++ function: QQmlInfo& QQmlInfo::operator<<(long t)
.
Sourcepub unsafe fn shl_ulong(&self, t: c_ulong) -> Ref<QQmlInfo>
pub unsafe fn shl_ulong(&self, t: c_ulong) -> Ref<QQmlInfo>
Calls C++ function: QQmlInfo& QQmlInfo::operator<<(unsigned long t)
.
Sourcepub unsafe fn shl_u64(&self, t: u64) -> Ref<QQmlInfo>
pub unsafe fn shl_u64(&self, t: u64) -> Ref<QQmlInfo>
Calls C++ function: QQmlInfo& QQmlInfo::operator<<(quint64 t)
.
Sourcepub unsafe fn shl_double(&self, t: c_double) -> Ref<QQmlInfo>
pub unsafe fn shl_double(&self, t: c_double) -> Ref<QQmlInfo>
Calls C++ function: QQmlInfo& QQmlInfo::operator<<(double t)
.
Methods from Deref<Target = QDebug>§
Sourcepub unsafe fn auto_insert_spaces(&self) -> bool
pub unsafe fn auto_insert_spaces(&self) -> bool
Returns true
if this QDebug instance will automatically insert spaces between writes.
Calls C++ function: bool QDebug::autoInsertSpaces() const
.
Returns true
if this QDebug instance will automatically insert spaces between writes.
This function was introduced in Qt 5.0.
See also setAutoInsertSpaces() and QDebugStateSaver.
Sourcepub unsafe fn copy_from(&self, other: impl CastInto<Ref<QDebug>>) -> Ref<QDebug>
pub unsafe fn copy_from(&self, other: impl CastInto<Ref<QDebug>>) -> Ref<QDebug>
Assigns the other debug stream to this stream and returns a reference to this stream.
Calls C++ function: QDebug& QDebug::operator=(const QDebug& other)
.
Assigns the other debug stream to this stream and returns a reference to this stream.
Sourcepub unsafe fn maybe_quote_1a(&self, c: i8) -> Ref<QDebug>
pub unsafe fn maybe_quote_1a(&self, c: i8) -> Ref<QDebug>
Writes a character c to the debug stream, depending on the current setting for automatic insertion of quotes, and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::maybeQuote(char c = …)
.
Sourcepub unsafe fn maybe_quote_0a(&self) -> Ref<QDebug>
pub unsafe fn maybe_quote_0a(&self) -> Ref<QDebug>
Writes a character c to the debug stream, depending on the current setting for automatic insertion of quotes, and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::maybeQuote()
.
Sourcepub unsafe fn maybe_space(&self) -> Ref<QDebug>
pub unsafe fn maybe_space(&self) -> Ref<QDebug>
Writes a space character to the debug stream, depending on the current setting for automatic insertion of spaces, and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::maybeSpace()
.
Sourcepub unsafe fn noquote(&self) -> Ref<QDebug>
pub unsafe fn noquote(&self) -> Ref<QDebug>
Disables automatic insertion of quotation characters around QChar, QString and QByteArray contents and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::noquote()
.
Disables automatic insertion of quotation characters around QChar, QString and QByteArray contents and returns a reference to the stream.
When quoting is disabled, these types are printed without quotation characters and without escaping of non-printable characters.
This function was introduced in Qt 5.4.
See also quote() and maybeQuote().
Sourcepub unsafe fn nospace(&self) -> Ref<QDebug>
pub unsafe fn nospace(&self) -> Ref<QDebug>
Disables automatic insertion of spaces and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::nospace()
.
Disables automatic insertion of spaces and returns a reference to the stream.
See also space() and maybeSpace().
Sourcepub unsafe fn quote(&self) -> Ref<QDebug>
pub unsafe fn quote(&self) -> Ref<QDebug>
Enables automatic insertion of quotation characters around QChar, QString and QByteArray contents and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::quote()
.
Enables automatic insertion of quotation characters around QChar, QString and QByteArray contents and returns a reference to the stream.
Quoting is enabled by default.
This function was introduced in Qt 5.4.
See also noquote() and maybeQuote().
Sourcepub unsafe fn reset_format(&self) -> Ref<QDebug>
pub unsafe fn reset_format(&self) -> Ref<QDebug>
Resets the stream formatting options, bringing it back to its original constructed state.
Calls C++ function: QDebug& QDebug::resetFormat()
.
Sourcepub unsafe fn set_auto_insert_spaces(&self, b: bool)
pub unsafe fn set_auto_insert_spaces(&self, b: bool)
Enables automatic insertion of spaces between writes if b is true; otherwise automatic insertion of spaces is disabled.
Calls C++ function: void QDebug::setAutoInsertSpaces(bool b)
.
Enables automatic insertion of spaces between writes if b is true; otherwise automatic insertion of spaces is disabled.
This function was introduced in Qt 5.0.
See also autoInsertSpaces() and QDebugStateSaver.
Sourcepub unsafe fn set_verbosity(&self, verbosity_level: i32)
pub unsafe fn set_verbosity(&self, verbosity_level: i32)
Sets the verbosity of the stream to verbosityLevel.
Calls C++ function: void QDebug::setVerbosity(int verbosityLevel)
.
Sets the verbosity of the stream to verbosityLevel.
The allowed range is from 0 to 7. The default value is 2.
This function was introduced in Qt 5.6.
See also verbosity().
Sourcepub unsafe fn shl_short(&self, t: i16) -> Ref<QDebug>
pub unsafe fn shl_short(&self, t: i16) -> Ref<QDebug>
Writes the signed short integer, i, to the stream and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::operator<<(short t)
.
Writes the signed short integer, i, to the stream and returns a reference to the stream.
Sourcepub unsafe fn shl_ushort(&self, t: u16) -> Ref<QDebug>
pub unsafe fn shl_ushort(&self, t: u16) -> Ref<QDebug>
Writes then unsigned short integer, i, to the stream and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::operator<<(unsigned short t)
.
Writes then unsigned short integer, i, to the stream and returns a reference to the stream.
Sourcepub unsafe fn shl_int(&self, t: i32) -> Ref<QDebug>
pub unsafe fn shl_int(&self, t: i32) -> Ref<QDebug>
Writes the signed integer, i, to the stream and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::operator<<(int t)
.
Writes the signed integer, i, to the stream and returns a reference to the stream.
Sourcepub unsafe fn shl_uint(&self, t: u32) -> Ref<QDebug>
pub unsafe fn shl_uint(&self, t: u32) -> Ref<QDebug>
Writes then unsigned integer, i, to the stream and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::operator<<(unsigned int t)
.
Writes then unsigned integer, i, to the stream and returns a reference to the stream.
Sourcepub unsafe fn shl_long(&self, t: i64) -> Ref<QDebug>
pub unsafe fn shl_long(&self, t: i64) -> Ref<QDebug>
Writes the signed long integer, l, to the stream and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::operator<<(long t)
.
Writes the signed long integer, l, to the stream and returns a reference to the stream.
Sourcepub unsafe fn shl_ulong(&self, t: u64) -> Ref<QDebug>
pub unsafe fn shl_ulong(&self, t: u64) -> Ref<QDebug>
Writes then unsigned long integer, l, to the stream and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::operator<<(unsigned long t)
.
Writes then unsigned long integer, l, to the stream and returns a reference to the stream.
Sourcepub unsafe fn shl_u64(&self, t: u64) -> Ref<QDebug>
pub unsafe fn shl_u64(&self, t: u64) -> Ref<QDebug>
Writes then unsigned 64-bit integer, i, to the stream and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::operator<<(quint64 t)
.
Writes then unsigned 64-bit integer, i, to the stream and returns a reference to the stream.
Sourcepub unsafe fn shl_double(&self, t: f64) -> Ref<QDebug>
pub unsafe fn shl_double(&self, t: f64) -> Ref<QDebug>
Writes the 64-bit floating point number, f, to the stream and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::operator<<(double t)
.
Writes the 64-bit floating point number, f, to the stream and returns a reference to the stream.
Sourcepub unsafe fn space(&self) -> Ref<QDebug>
pub unsafe fn space(&self) -> Ref<QDebug>
Writes a space character to the debug stream and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::space()
.
Writes a space character to the debug stream and returns a reference to the stream.
The stream remembers that automatic insertion of spaces is enabled for future writes.
See also nospace() and maybeSpace().
Sourcepub unsafe fn swap(&self, other: impl CastInto<Ref<QDebug>>)
pub unsafe fn swap(&self, other: impl CastInto<Ref<QDebug>>)
Swaps this debug stream instance with other. This function is very fast and never fails.
Calls C++ function: void QDebug::swap(QDebug& other)
.
Swaps this debug stream instance with other. This function is very fast and never fails.
This function was introduced in Qt 5.0.
Sourcepub unsafe fn verbosity(&self) -> i32
pub unsafe fn verbosity(&self) -> i32
Returns the verbosity of the debug stream.
Calls C++ function: int QDebug::verbosity() const
.
Returns the verbosity of the debug stream.
Streaming operators can check the value to decide whether verbose output is desired and print more information depending on the level. Higher values indicate that more information is desired.
The allowed range is from 0 to 7. The default value is 2.
This function was introduced in Qt 5.6.
See also setVerbosity().
Sourcepub unsafe fn verbosity_mut(&self, verbosity_level: i32) -> Ref<QDebug>
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn verbosity_mut(&self, verbosity_level: i32) -> Ref<QDebug>
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Sets the verbosity of the stream to verbosityLevel and returns a reference to the stream.
Calls C++ function: QDebug& QDebug::verbosity(int verbosityLevel)
.
Sets the verbosity of the stream to verbosityLevel and returns a reference to the stream.
The allowed range is from 0 to 7. The default value is 2.
This function was introduced in Qt 5.13.
See also verbosity(), setVerbosity(), and VerbosityLevel.