Struct cxx_qt_lib::QDateTime
source · [−]#[repr(C)]pub struct QDateTime { /* private fields */ }
Expand description
Binding to Qt QDateTime
.
Invariants
As an invariant of this API and the static analysis of the cxx::bridge
macro, in Rust code we can never obtain a QDateTime
by value. Qt’s QDateTime
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 QDateTime through a reference or smart pointer, as in &QDateTime
or UniquePtr<QDateTime>
.
Implementations
Trait Implementations
sourceimpl ExternType for QDateTime
impl ExternType for QDateTime
type Id = (Q, D, a, t, e, T, i, m, e)
type Id = (Q, D, a, t, e, T, i, m, e)
A type-level representation of the type’s C++ namespace and type name. Read more
type Kind = Opaque
type Kind = Opaque
Either cxx::kind::Opaque
or cxx::kind::Trivial
. Read more
impl UniquePtrTarget for QDateTime
Auto Trait Implementations
impl RefUnwindSafe for QDateTime
impl Send for QDateTime
impl Sync for QDateTime
impl !Unpin for QDateTime
impl UnwindSafe for QDateTime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more