#[repr(C)]pub struct c_void { /* private fields */ }
Expand description
This is a workaround for CXX missing support for *mut c_void
/*const c_void
types.
To use this type add this to your bridge:
#[namespace = "rust::cxxqtlib1"]
unsafe extern "C++" {
include!("cxx-qt-lib/common.h");
type c_void = cxx_qt_lib::c_void;
}
Trait Implementations§
Source§impl ExternType for c_void
impl ExternType for c_void
Auto Trait Implementations§
impl !Freeze for c_void
impl RefUnwindSafe for c_void
impl !Send for c_void
impl !Sync for c_void
impl !Unpin for c_void
impl UnwindSafe for c_void
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