[][src]Struct qt_qml::QQmlInfo

#[repr(C)]pub struct QQmlInfo { /* fields omitted */ }

C++ class: QQmlInfo.

Methods

impl QQmlInfo[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Methods from Deref<Target = QDebug>

pub unsafe fn auto_insert_spaces(&self) -> bool[src]

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.

pub unsafe fn copy_from(&self, other: impl CastInto<Ref<QDebug>>) -> Ref<QDebug>[src]

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.

pub unsafe fn maybe_quote_1a(&self, c: i8) -> Ref<QDebug>[src]

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

pub unsafe fn maybe_quote_0a(&self) -> Ref<QDebug>[src]

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

pub unsafe fn maybe_space(&self) -> Ref<QDebug>[src]

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

pub unsafe fn noquote(&self) -> Ref<QDebug>[src]

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

pub unsafe fn nospace(&self) -> Ref<QDebug>[src]

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

pub unsafe fn quote(&self) -> Ref<QDebug>[src]

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

pub unsafe fn reset_format(&self) -> Ref<QDebug>[src]

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

pub unsafe fn set_auto_insert_spaces(&self, b: bool)[src]

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.

pub unsafe fn set_verbosity(&self, verbosity_level: i32)[src]

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

pub unsafe fn shl_short(&self, t: i16) -> Ref<QDebug>[src]

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.

pub unsafe fn shl_ushort(&self, t: u16) -> Ref<QDebug>[src]

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.

pub unsafe fn shl_int(&self, t: i32) -> Ref<QDebug>[src]

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.

pub unsafe fn shl_uint(&self, t: u32) -> Ref<QDebug>[src]

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.

pub unsafe fn shl_long(&self, t: i64) -> Ref<QDebug>[src]

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.

pub unsafe fn shl_ulong(&self, t: u64) -> Ref<QDebug>[src]

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.

pub unsafe fn shl_u64(&self, t: u64) -> Ref<QDebug>[src]

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.

pub unsafe fn shl_double(&self, t: f64) -> Ref<QDebug>[src]

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.

pub unsafe fn space(&self) -> Ref<QDebug>[src]

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

pub unsafe fn swap(&self, other: impl CastInto<Ref<QDebug>>)[src]

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.

pub unsafe fn verbosity(&self) -> i32[src]

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

pub unsafe fn verbosity_mut(&self, verbosity_level: i32) -> Ref<QDebug>[src]

This is supported 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

impl CppDeletable for QQmlInfo[src]

unsafe fn delete(&self)[src]

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

impl Deref for QQmlInfo[src]

type Target = QDebug

The resulting type after dereferencing.

fn deref(&self) -> &QDebug[src]

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

impl<'_> Shl<*const c_void> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<*const i8> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<Ref<QByteArray>> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<Ref<QChar>> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<Ref<QLatin1String>> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<Ref<QString>> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<Ref<QStringRef>> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<Ref<QTextStreamManipulator>> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<Ref<QUrl>> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<bool> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<f32> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<i64> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl<'_> Shl<i8> for &'_ QQmlInfo[src]

type Output = Ref<QQmlInfo>

The resulting type after applying the << operator.

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

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

impl StaticDowncast<QQmlInfo> for QDebug[src]

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

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

impl StaticUpcast<QDebug> for QQmlInfo[src]

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

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

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.