Struct QQmlInfo

Source
#[repr(C)]
pub struct QQmlInfo { /* private fields */ }
Expand description

C++ class: QQmlInfo.

Implementations§

Source§

impl QQmlInfo

Source

pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QQmlInfo>>, ) -> Ref<QQmlInfo>

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

Source

pub unsafe fn new_copy(arg1: impl CastInto<Ref<QQmlInfo>>) -> CppBox<QQmlInfo>

Calls C++ function: [constructor] void QQmlInfo::QQmlInfo(const QQmlInfo& arg1).

Source

pub unsafe fn shl_short(&self, t: c_short) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(short t).

Source

pub unsafe fn shl_ushort(&self, t: c_ushort) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(unsigned short t).

Source

pub unsafe fn shl_int(&self, t: c_int) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(int t).

Source

pub unsafe fn shl_uint(&self, t: c_uint) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(unsigned int t).

Source

pub unsafe fn shl_long(&self, t: c_long) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(long t).

Source

pub unsafe fn shl_ulong(&self, t: c_ulong) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(unsigned long t).

Source

pub unsafe fn shl_u64(&self, t: u64) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(quint64 t).

Source

pub unsafe fn shl_double(&self, t: c_double) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(double t).

Methods from Deref<Target = QDebug>§

Source

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.

C++ documentation:

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.

Source

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).

C++ documentation:

Assigns the other debug stream to this stream and returns a reference to this stream.

Source

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 = …).

C++ documentation:

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.

The default character is a double quote ".

This function was introduced in Qt 5.4.

See also quote() and noquote().

Source

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().

C++ documentation:

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.

The default character is a double quote ".

This function was introduced in Qt 5.4.

See also quote() and noquote().

Source

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().

C++ documentation:

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.

See also space() and nospace().

Source

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().

C++ documentation:

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().

Source

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().

C++ documentation:

Disables automatic insertion of spaces and returns a reference to the stream.

See also space() and maybeSpace().

Source

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().

C++ documentation:

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().

Source

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().

C++ documentation:

Resets the stream formatting options, bringing it back to its original constructed state.

This function was introduced in Qt 5.4.

See also space() and quote().

Source

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).

C++ documentation:

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.

Source

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).

C++ documentation:

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().

Source

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).

C++ documentation:

Writes the signed short integer, i, to the stream and returns a reference to the stream.

Source

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).

C++ documentation:

Writes then unsigned short integer, i, to the stream and returns a reference to the stream.

Source

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).

C++ documentation:

Writes the signed integer, i, to the stream and returns a reference to the stream.

Source

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).

C++ documentation:

Writes then unsigned integer, i, to the stream and returns a reference to the stream.

Source

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).

C++ documentation:

Writes the signed long integer, l, to the stream and returns a reference to the stream.

Source

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).

C++ documentation:

Writes then unsigned long integer, l, to the stream and returns a reference to the stream.

Source

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).

C++ documentation:

Writes then unsigned 64-bit integer, i, to the stream and returns a reference to the stream.

Source

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).

C++ documentation:

Writes the 64-bit floating point number, f, to the stream and returns a reference to the stream.

Source

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().

C++ documentation:

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().

Source

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).

C++ documentation:

Swaps this debug stream instance with other. This function is very fast and never fails.

This function was introduced in Qt 5.0.

Source

pub unsafe fn verbosity(&self) -> i32

Returns the verbosity of the debug stream.

Calls C++ function: int QDebug::verbosity() const.

C++ documentation:

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().

Source

pub 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.

Sets the verbosity of the stream to verbosityLevel and returns a reference to the stream.

Calls C++ function: QDebug& QDebug::verbosity(int verbosityLevel).

C++ documentation:

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.

Trait Implementations§

Source§

impl CppDeletable for QQmlInfo

Source§

unsafe fn delete(&self)

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

Source§

impl Deref for QQmlInfo

Source§

fn deref(&self) -> &QDebug

Calls C++ function: QDebug* static_cast<QDebug*>(QQmlInfo* ptr).

Source§

type Target = QDebug

The resulting type after dereferencing.
Source§

impl Shl<*const c_void> for &QQmlInfo

Source§

fn shl(self, t: *const c_void) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(const void* t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<*const i8> for &QQmlInfo

Source§

fn shl(self, t: *const c_char) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(const char* t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<Ref<QByteArray>> for &QQmlInfo

Source§

fn shl(self, t: Ref<QByteArray>) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(const QByteArray& t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<Ref<QChar>> for &QQmlInfo

Source§

fn shl(self, t: Ref<QChar>) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(QChar t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<Ref<QLatin1String>> for &QQmlInfo

Source§

fn shl(self, t: Ref<QLatin1String>) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(const QLatin1String& t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<Ref<QString>> for &QQmlInfo

Source§

fn shl(self, t: Ref<QString>) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(const QString& t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<Ref<QStringRef>> for &QQmlInfo

Source§

fn shl(self, t: Ref<QStringRef>) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(const QStringRef& t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<Ref<QTextStreamManipulator>> for &QQmlInfo

Source§

fn shl(self, m: Ref<QTextStreamManipulator>) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(QTextStreamManipulator m).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<Ref<QUrl>> for &QQmlInfo

Source§

fn shl(self, t: Ref<QUrl>) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(const QUrl& t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<bool> for &QQmlInfo

Source§

fn shl(self, t: bool) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(bool t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<f32> for &QQmlInfo

Source§

fn shl(self, t: c_float) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(float t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<i64> for &QQmlInfo

Source§

fn shl(self, t: i64) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(qint64 t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl Shl<i8> for &QQmlInfo

Source§

fn shl(self, t: c_char) -> Ref<QQmlInfo>

Calls C++ function: QQmlInfo& QQmlInfo::operator<<(char t).

Source§

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.
Source§

impl StaticDowncast<QQmlInfo> for QDebug

Source§

unsafe fn static_downcast(ptr: Ptr<QDebug>) -> Ptr<QQmlInfo>

Calls C++ function: QQmlInfo* static_cast<QQmlInfo*>(QDebug* ptr).

Source§

impl StaticUpcast<QDebug> for QQmlInfo

Source§

unsafe fn static_upcast(ptr: Ptr<QQmlInfo>) -> Ptr<QDebug>

Calls C++ function: QDebug* static_cast<QDebug*>(QQmlInfo* ptr).

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.