Struct cxx_qt_lib::QString [−][src]
#[repr(C)]pub struct QString { /* fields omitted */ }
Expand description
Binding to Qt QString
.
Invariants
As an invariant of this API and the static analysis of the cxx::bridge
macro, in Rust code we can never obtain a QString
by value. Qt’s QString
requires a move constructor and may hold internal pointers, which is not
compatible with Rust’s move behavior. Instead in Rust code we will only ever
look at a QString through a reference or smart pointer, as in &QString
or UniquePtr<QString>
.
Implementations
QString
is not constructible via new
.
Instead, use the let_qstring!
macro.
Trait Implementations
A type-level representation of the type’s C++ namespace and type name. Read more
Either cxx::kind::Opaque
or cxx::kind::Trivial
. Read more