pub struct QTranslater { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Default for QTranslater
impl Default for QTranslater
Source§fn default() -> QTranslater
fn default() -> QTranslater
Returns the “default value” for a type. Read more
Source§impl QObject for QTranslater
impl QObject for QTranslater
Source§fn meta_object(&self) -> *const QMetaObject
fn meta_object(&self) -> *const QMetaObject
Returns a pointer to a meta object
Source§fn static_meta_object() -> *const QMetaObject
fn static_meta_object() -> *const QMetaObject
Returns a pointer to a meta object
Source§fn get_cpp_object(&self) -> *mut c_void
fn get_cpp_object(&self) -> *mut c_void
return a C++ pointer to the QObject* (can be null if not yet initialized)
Source§unsafe fn get_from_cpp<'pinned_ref>(
ptr: *mut c_void,
) -> QObjectPinned<'pinned_ref, Self>
unsafe fn get_from_cpp<'pinned_ref>( ptr: *mut c_void, ) -> QObjectPinned<'pinned_ref, Self>
Return a rust object belonging to a C++ object
Source§unsafe fn cpp_construct(pinned: &RefCell<Self>) -> *mut c_void
unsafe fn cpp_construct(pinned: &RefCell<Self>) -> *mut c_void
Construct the C++ Object. Read more
Source§unsafe fn qml_construct(
pinned: &RefCell<Self>,
mem: *mut c_void,
extra_destruct: extern "C" fn(_: *mut c_void),
)
unsafe fn qml_construct( pinned: &RefCell<Self>, mem: *mut c_void, extra_destruct: extern "C" fn(_: *mut c_void), )
Construct the C++ Object, suitable for callbacks to construct QML objects.
Source§fn get_object_description() -> &'static QObjectDescriptorwhere
Self: Sized,
fn get_object_description() -> &'static QObjectDescriptorwhere
Self: Sized,
Returns a QObjectDescriptor for this type
Auto Trait Implementations§
impl Freeze for QTranslater
impl RefUnwindSafe for QTranslater
impl !Send for QTranslater
impl !Sync for QTranslater
impl Unpin for QTranslater
impl UnwindSafe for QTranslater
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more