pub trait CxxQtType {
type Rust;
// Required methods
fn rust(&self) -> &Self::Rust;
fn rust_mut(self: Pin<&mut Self>) -> Pin<&mut Self::Rust>;
}
Expand description
This trait is automatically implemented for all types which are marked as #[qobject]
.
It provides information about the type that is wrapped by the QObject, as well as the methods
that Cxx-Qt will generate for the QObject.