Skip to main content

QDebug

Struct QDebug 

Source
pub struct QDebug { /* private fields */ }
Expand description

C++ class: QDebug.

Implementations§

Source§

impl QDebug

Source

pub unsafe fn auto_insert_spaces(&self) -> bool

Calls C++ function: bool QDebug::autoInsertSpaces() const.

Source

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

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

Source

pub unsafe fn maybe_quote_1a(&self, c: c_char) -> Ref<QDebug>

Calls C++ function: QDebug& QDebug::maybeQuote(char c = …).

Source

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

Calls C++ function: QDebug& QDebug::maybeQuote().

Source

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

Calls C++ function: QDebug& QDebug::maybeSpace().

Source

pub unsafe fn from_q_io_device( device: impl CastInto<Ptr<QIODevice>>, ) -> CppBox<QDebug>

Calls C++ function: [constructor] void QDebug::QDebug(QIODevice* device).

Source

pub unsafe fn from_q_string( string: impl CastInto<Ptr<QString>>, ) -> CppBox<QDebug>

Calls C++ function: [constructor] void QDebug::QDebug(QString* string).

Source

pub unsafe fn from_qt_msg_type(t: QtMsgType) -> CppBox<QDebug>

Calls C++ function: [constructor] void QDebug::QDebug(QtMsgType t).

Source

pub unsafe fn new_copy(o: impl CastInto<Ref<QDebug>>) -> CppBox<QDebug>

Calls C++ function: [constructor] void QDebug::QDebug(const QDebug& o).

Source

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

Calls C++ function: QDebug& QDebug::noquote().

Source

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

Calls C++ function: QDebug& QDebug::nospace().

Source

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

Calls C++ function: QDebug& QDebug::quote().

Source

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

Calls C++ function: QDebug& QDebug::resetFormat().

Source

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

Calls C++ function: void QDebug::setAutoInsertSpaces(bool b).

Source

pub unsafe fn set_verbosity(&self, verbosity_level: c_int)

Calls C++ function: void QDebug::setVerbosity(int verbosityLevel).

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn shl_longlong(&self, t: c_longlong) -> Ref<QDebug>

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

Source

pub unsafe fn shl_ulonglong(&self, t: c_ulonglong) -> Ref<QDebug>

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

Source

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

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

Source

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

Calls C++ function: QDebug& QDebug::space().

Source

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

Calls C++ function: void QDebug::swap(QDebug& other).

Source

pub unsafe fn verbosity_mut(&self, verbosity_level: c_int) -> Ref<QDebug>

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

Source

pub unsafe fn verbosity(&self) -> c_int

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

Trait Implementations§

Source§

impl CppDeletable for QDebug

Source§

unsafe fn delete(&self)

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

Source§

impl Shl<*const c_void> for &QDebug

Source§

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

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

Source§

type Output = Ref<QDebug>

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

impl Shl<*const i8> for &QDebug

Source§

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

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

Source§

type Output = Ref<QDebug>

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

impl Shl<Ptr<QObject>> for &QDebug

Source§

fn shl(self, arg2: Ptr<QObject>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QObject* arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QCborKnownTags> for &QDebug

Source§

fn shl(self, tg: QCborKnownTags) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, QCborKnownTags tg).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QCborSimpleType> for &QDebug

Source§

fn shl(self, st: QCborSimpleType) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, QCborSimpleType st).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QCborTag> for &QDebug

Source§

fn shl(self, tg: QCborTag) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, QCborTag tg).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<Base64Option>> for &QDebug

Source§

fn shl(self, flags: QFlags<Base64Option>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QByteArray::Base64Option>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<BoundaryReason>> for &QDebug

Source§

fn shl(self, flags: QFlags<BoundaryReason>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QTextBoundaryFinder::BoundaryReason>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<CheckIndexOption>> for &QDebug

Source§

fn shl(self, flags: QFlags<CheckIndexOption>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QAbstractItemModel::CheckIndexOption>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<ComponentFormattingOption>> for &QDebug

Source§

fn shl(self, flags: QFlags<ComponentFormattingOption>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QUrl::ComponentFormattingOption>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<ConversionFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<ConversionFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QTextCodec::ConversionFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<DataSizeFormat>> for &QDebug

Source§

fn shl(self, flags: QFlags<DataSizeFormat>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QLocale::DataSizeFormat>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<DiagnosticNotationOption>> for &QDebug

Source§

fn shl(self, flags: QFlags<DiagnosticNotationOption>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QCborValue::DiagnosticNotationOption>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<DropAction>> for &QDebug

Source§

fn shl(self, flags: QFlags<DropAction>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<Qt::DropAction>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<EncodingOption>> for &QDebug

Source§

fn shl(self, flags: QFlags<EncodingOption>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QCborValue::EncodingOption>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<FileHandleFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<FileHandleFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QFileDevice::FileHandleFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<Filter>> for &QDebug

Source§

fn shl(self, flags: QFlags<Filter>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QDir::Filter>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<FindChildOption>> for &QDebug

Source§

fn shl(self, flags: QFlags<FindChildOption>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<Qt::FindChildOption>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<Flag>> for &QDebug

Source§

fn shl(self, flags: QFlags<Flag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QCommandLineOption::Flag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<ItemFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<ItemFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<Qt::ItemFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<IteratorFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<IteratorFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QDirIterator::IteratorFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<LoadHint>> for &QDebug

Source§

fn shl(self, flags: QFlags<LoadHint>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QLibrary::LoadHint>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<LocateOption>> for &QDebug

Source§

fn shl(self, flags: QFlags<LocateOption>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QStandardPaths::LocateOption>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<MatchFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<MatchFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<Qt::MatchFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<MatchOption>> for &QDebug

Source§

fn shl(self, flags: QFlags<MatchOption>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QRegularExpression::MatchOption>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<NumberFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<NumberFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QTextStream::NumberFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<NumberOption>> for &QDebug

Source§

fn shl(self, flags: QFlags<NumberOption>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QLocale::NumberOption>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<OpenModeFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<OpenModeFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QIODevice::OpenModeFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<PatternOption>> for &QDebug

Source§

fn shl(self, flags: QFlags<PatternOption>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QRegularExpression::PatternOption>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<Permission>> for &QDebug

Source§

fn shl(self, flags: QFlags<Permission>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QFileDevice::Permission>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<ProcessEventsFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<ProcessEventsFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QEventLoop::ProcessEventsFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<SectionFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<SectionFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QString::SectionFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<SelectionFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<SelectionFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QItemSelectionModel::SelectionFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<SortFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<SortFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QDir::SortFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<SplitBehaviorFlags>> for &QDebug

Source§

fn shl(self, flags: QFlags<SplitBehaviorFlags>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<Qt::SplitBehaviorFlags>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<TypeFlag>> for &QDebug

Source§

fn shl(self, flags: QFlags<TypeFlag>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QMetaType::TypeFlag>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<QFlags<UserInputResolutionOption>> for &QDebug

Source§

fn shl(self, flags: QFlags<UserInputResolutionOption>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QFlags<QUrl::UserInputResolutionOption>& flags).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QBitArray>> for &QDebug

Source§

fn shl(self, arg2: Ref<QBitArray>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QBitArray& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QByteArray>> for &QDebug

Source§

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

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

Source§

type Output = Ref<QDebug>

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

impl Shl<Ref<QCborArray>> for &QDebug

Source§

fn shl(self, a: Ref<QCborArray>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QCborArray& a).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QCborMap>> for &QDebug

Source§

fn shl(self, m: Ref<QCborMap>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QCborMap& m).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QCborValue>> for &QDebug

Source§

fn shl(self, v: Ref<QCborValue>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QCborValue& v).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QChar>> for &QDebug

Source§

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

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

Source§

type Output = Ref<QDebug>

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

impl Shl<Ref<QDate>> for &QDebug

Source§

fn shl(self, arg2: Ref<QDate>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QDate& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QDateTime>> for &QDebug

Source§

fn shl(self, arg2: Ref<QDateTime>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QDateTime& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QDir>> for &QDebug

Source§

fn shl(self, dir: Ref<QDir>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QDir& dir).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QEasingCurve>> for &QDebug

Source§

fn shl(self, item: Ref<QEasingCurve>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QEasingCurve& item).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QFileInfo>> for &QDebug

Source§

fn shl(self, arg2: Ref<QFileInfo>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QFileInfo& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QHashOfIntQByteArray>> for &QDebug

Source§

fn shl(self, hash: Ref<QHashOfIntQByteArray>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QHash<int, QByteArray>& hash).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QHashOfQStringQVariant>> for &QDebug

Source§

fn shl(self, hash: Ref<QHashOfQStringQVariant>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QHash<QString, QVariant>& hash).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QItemSelectionRange>> for &QDebug

Source§

fn shl(self, arg2: Ref<QItemSelectionRange>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QItemSelectionRange& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QJsonArray>> for &QDebug

Source§

fn shl(self, arg2: Ref<QJsonArray>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QJsonArray& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QJsonDocument>> for &QDebug

Source§

fn shl(self, arg2: Ref<QJsonDocument>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QJsonDocument& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QJsonObject>> for &QDebug

Source§

fn shl(self, arg2: Ref<QJsonObject>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QJsonObject& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QJsonValue>> for &QDebug

Source§

fn shl(self, arg2: Ref<QJsonValue>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QJsonValue& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QLatin1String>> for &QDebug

Source§

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

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

Source§

type Output = Ref<QDebug>

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

impl Shl<Ref<QLine>> for &QDebug

Source§

fn shl(self, p: Ref<QLine>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug d, const QLine& p).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QLineF>> for &QDebug

Source§

fn shl(self, p: Ref<QLineF>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug d, const QLineF& p).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfCountry>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfCountry>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QLocale::Country>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfDayOfWeek>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfDayOfWeek>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<Qt::DayOfWeek>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfInt>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfInt>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<int>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQAbstractAnimation>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQAbstractAnimation>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QAbstractAnimation*>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQAbstractItemModel>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQAbstractItemModel>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QAbstractItemModel*>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQAbstractState>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQAbstractState>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QAbstractState*>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQAbstractTransition>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQAbstractTransition>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QAbstractTransition*>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQByteArray>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQByteArray>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QByteArray>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQFileInfo>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQFileInfo>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QFileInfo>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQItemSelectionRange>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQItemSelectionRange>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QItemSelectionRange>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQLocale>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQLocale>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QLocale>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQMimeType>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQMimeType>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QMimeType>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQModelIndex>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQModelIndex>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QModelIndex>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQObject>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQObject>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QObject*>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQPairOfQStringQString>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQPairOfQStringQString>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QPair<QString, QString>>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQPersistentModelIndex>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQPersistentModelIndex>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QPersistentModelIndex>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQStorageInfo>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQStorageInfo>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QStorageInfo>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQString>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQString>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QString>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQStringView>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQStringView>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QStringView>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQUrl>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQUrl>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QUrl>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QListOfQVariant>> for &QDebug

Source§

fn shl(self, list: Ref<QListOfQVariant>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QList<QVariant>& list).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QLocale>> for &QDebug

Source§

fn shl(self, arg2: Ref<QLocale>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QLocale& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QMapOfIntQVariant>> for &QDebug

Source§

fn shl(self, map: Ref<QMapOfIntQVariant>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QMap<int, QVariant>& map).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QMapOfQStringQVariant>> for &QDebug

Source§

fn shl(self, map: Ref<QMapOfQStringQVariant>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QMap<QString, QVariant>& map).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QMargins>> for &QDebug

Source§

fn shl(self, arg2: Ref<QMargins>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QMargins& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QMarginsF>> for &QDebug

Source§

fn shl(self, arg2: Ref<QMarginsF>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QMarginsF& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QMimeType>> for &QDebug

Source§

fn shl(self, mime: Ref<QMimeType>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QMimeType& mime).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QModelIndex>> for &QDebug

Source§

fn shl(self, arg2: Ref<QModelIndex>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QModelIndex& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QOperatingSystemVersion>> for &QDebug

Source§

fn shl(self, ov: Ref<QOperatingSystemVersion>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QOperatingSystemVersion& ov).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QPairOfDoubleQVariant>> for &QDebug

Source§

fn shl(self, pair: Ref<QPairOfDoubleQVariant>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QPair<double, QVariant>& pair).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QPairOfLonglongUint>> for &QDebug

Source§

fn shl(self, pair: Ref<QPairOfLonglongUint>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QPair<long long, unsigned int>& pair).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QPairOfQCborValueQCborValue>> for &QDebug

Source§

fn shl(self, pair: Ref<QPairOfQCborValueQCborValue>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QPair<QCborValue, QCborValue>& pair).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QPairOfQCborValueRefQCborValueRef>> for &QDebug

Source§

fn shl(self, pair: Ref<QPairOfQCborValueRefQCborValueRef>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QPair<QCborValueRef, QCborValueRef>& pair).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QPairOfQStringQJsonValue>> for &QDebug

Source§

fn shl(self, pair: Ref<QPairOfQStringQJsonValue>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QPair<QString, QJsonValue>& pair).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QPairOfQStringQString>> for &QDebug

Source§

fn shl(self, pair: Ref<QPairOfQStringQString>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QPair<QString, QString>& pair).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QPersistentModelIndex>> for &QDebug

Source§

fn shl(self, arg2: Ref<QPersistentModelIndex>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QPersistentModelIndex& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QPoint>> for &QDebug

Source§

fn shl(self, arg2: Ref<QPoint>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QPoint& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QPointF>> for &QDebug

Source§

fn shl(self, p: Ref<QPointF>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug d, const QPointF& p).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QRect>> for &QDebug

Source§

fn shl(self, arg2: Ref<QRect>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QRect& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QRectF>> for &QDebug

Source§

fn shl(self, arg2: Ref<QRectF>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QRectF& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QRegExp>> for &QDebug

Source§

fn shl(self, arg2: Ref<QRegExp>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QRegExp& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QRegularExpression>> for &QDebug

Source§

fn shl(self, re: Ref<QRegularExpression>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QRegularExpression& re).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QRegularExpressionMatch>> for &QDebug

Source§

fn shl(self, match_: Ref<QRegularExpressionMatch>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QRegularExpressionMatch& match).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QSetOfQAbstractState>> for &QDebug

Source§

fn shl(self, set: Ref<QSetOfQAbstractState>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QSet<QAbstractState*>& set).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QSize>> for &QDebug

Source§

fn shl(self, arg2: Ref<QSize>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QSize& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QSizeF>> for &QDebug

Source§

fn shl(self, arg2: Ref<QSizeF>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QSizeF& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QStorageInfo>> for &QDebug

Source§

fn shl(self, arg2: Ref<QStorageInfo>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QStorageInfo& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QString>> for &QDebug

Source§

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

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

Source§

type Output = Ref<QDebug>

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

impl Shl<Ref<QStringRef>> for &QDebug

Source§

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

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

Source§

type Output = Ref<QDebug>

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

impl Shl<Ref<QStringView>> for &QDebug

Source§

fn shl(self, s: Ref<QStringView>) -> Ref<QDebug>

Calls C++ function: QDebug& QDebug::operator<<(QStringView s).

Source§

type Output = Ref<QDebug>

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

impl Shl<Ref<QTextStreamManipulator>> for &QDebug

Source§

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

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

Source§

type Output = Ref<QDebug>

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

impl Shl<Ref<QTime>> for &QDebug

Source§

fn shl(self, arg2: Ref<QTime>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QTime& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QTimeZone>> for &QDebug

Source§

fn shl(self, tz: Ref<QTimeZone>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug dbg, const QTimeZone& tz).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QUrl>> for &QDebug

Source§

fn shl(self, arg2: Ref<QUrl>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QUrl& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QUuid>> for &QDebug

Source§

fn shl(self, arg2: Ref<QUuid>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QUuid& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QVariant>> for &QDebug

Source§

fn shl(self, arg2: Ref<QVariant>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QVariant& arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QVectorOfInt>> for &QDebug

Source§

fn shl(self, vec: Ref<QVectorOfInt>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QVector<int>& vec).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QVectorOfQCborValue>> for &QDebug

Source§

fn shl(self, vec: Ref<QVectorOfQCborValue>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QVector<QCborValue>& vec).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QVectorOfQPairOfDoubleQVariant>> for &QDebug

Source§

fn shl(self, vec: Ref<QVectorOfQPairOfDoubleQVariant>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QVector<QPair<double, QVariant>>& vec).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QVectorOfQPointF>> for &QDebug

Source§

fn shl(self, vec: Ref<QVectorOfQPointF>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QVector<QPointF>& vec).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QVectorOfQStringRef>> for &QDebug

Source§

fn shl(self, vec: Ref<QVectorOfQStringRef>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QVector<QStringRef>& vec).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QVectorOfUint>> for &QDebug

Source§

fn shl(self, vec: Ref<QVectorOfUint>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug debug, const QVector<unsigned int>& vec).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Ref<QVersionNumber>> for &QDebug

Source§

fn shl(self, version: Ref<QVersionNumber>) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, const QVersionNumber& version).

Source§

type Output = CppBox<QDebug>

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

impl Shl<Type> for &QDebug

Source§

fn shl(self, arg2: Type) -> CppBox<QDebug>

Calls C++ function: QDebug operator<<(QDebug arg1, QVariant::Type arg2).

Source§

type Output = CppBox<QDebug>

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

impl Shl<bool> for &QDebug

Source§

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

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

Source§

type Output = Ref<QDebug>

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

impl Shl<f32> for &QDebug

Source§

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

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

Source§

type Output = Ref<QDebug>

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

impl Shl<i8> for &QDebug

Source§

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

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

Source§

type Output = Ref<QDebug>

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

impl Shl<u16> for &QDebug

Source§

fn shl(self, t: char16_t) -> Ref<QDebug>

Calls C++ function: QDebug& QDebug::operator<<(char16_t t).

Source§

type Output = Ref<QDebug>

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

impl Shl<u32> for &QDebug

Source§

fn shl(self, t: char32_t) -> Ref<QDebug>

Calls C++ function: QDebug& QDebug::operator<<(char32_t t).

Source§

type Output = Ref<QDebug>

The resulting type after applying the << operator.

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