fn register(name: Option<&CStr>) -> i32 {
        register_metatype_common::<Self>(
            name.map_or(std::ptr::null(), |x| x.as_ptr()),
            std::ptr::null(),
        )
    }
/// Registers the type.
///
/// See the Qt documentation of qRegisterMetaType()
///
/// The default implementation should work for most types
Registers the type.
See the Qt documentation of qRegisterMetaType()

The default implementation should work for most types
Registers the type . See the Qt documentation of qRegisterMetaType () The default implementation should work for most types
fn register(name: Option<&CStr>) -> i32 {
        register_metatype_common::<Self>(
            name.map_or(std::ptr::null(), |x| x.as_ptr()),
            std::ptr::null(),
        )
    }
fn register ( name : Option < & CStr > ) -> i32 { register_metatype_common :: < Self > ( name . map_or ( std :: ptr :: null ( ) , | x | x . as_ptr ( ) ) , std :: ptr :: null ( ) , ) }
Registers the type.
Registers the type .
name
Option<&CStr>