Trait qmetaobject::qmetatype::PropertyType[][src]

pub trait PropertyType {
    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; }

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[src]

unsafe fn pass_to_qt(&mut self, a: *mut c_void)[src]

unsafe fn read_from_qt(a: *const c_void) -> Self[src]

Loading content...

Implementations on Foreign Types

impl<T> PropertyType for RefCell<T> where
    T: QObject
[src]

Loading content...

Implementors

impl<T> PropertyType for QPointer<T> where
    T: QObject
[src]

impl<T: QMetaType> PropertyType for T where
    T: QMetaType
[src]

Loading content...