Trait qmetaobject::qmetatype::PropertyType
source · pub trait PropertyType {
// Required methods
fn register_type(name: &CStr) -> i32;
unsafe fn pass_to_qt(&mut self, a: *mut c_void);
unsafe fn read_from_qt(a: *const c_void) -> Self;
}
Expand description
Internal trait used to pass or read the type in a Q_PROPERTY
Don’t implement this trait, implement the QMetaType trait.
Required Methods§
fn register_type(name: &CStr) -> i32
unsafe fn pass_to_qt(&mut self, a: *mut c_void)
unsafe fn read_from_qt(a: *const c_void) -> Self
Object Safety§
This trait is not object safe.