fn default_value( &self ) -> TokenStream
    {
        match self.rust_ty() {
            Type::Path( ref p ) => {
                let ident = p.path.get_ident().unwrap();
                let name = ident.to_string();
                match name.as_ref() {
                    "RawComPtr" => quote!( ::std::ptr::null_mut() ),
                    _ => quote!( Default::default() )
                }
            },
            Type::Ptr( .. ) => quote!( ::std::ptr::null_mut() ),
            _ => quote!( Default::default() )
        }
    }
/// Gets the default value for the type.
Gets the default value for the type.
Gets the default value for the type .
fn default_value( &self ) -> TokenStream
    {
        match self.rust_ty() {
            Type::Path( ref p ) => {
                let ident = p.path.get_ident().unwrap();
                let name = ident.to_string();
                match name.as_ref() {
                    "RawComPtr" => quote!( ::std::ptr::null_mut() ),
                    _ => quote!( Default::default() )
                }
            },
            Type::Ptr( .. ) => quote!( ::std::ptr::null_mut() ),
            _ => quote!( Default::default() )
        }
    }
fn default_value ( & self ) -> TokenStream { match self . rust_ty ( ) { Type :: Path ( ref p ) => { let ident = p . path . get_ident ( ) . unwrap ( ) ; let name = ident . to_string ( ) ; match name . as_ref ( ) { " " => quote ! ( std ptr null_mut ( ) ) , _ => quote ! ( Default default ( ) ) } } , Type :: Ptr ( .. ) => quote ! ( std ptr null_mut ( ) ) , _ => quote ! ( Default default ( ) ) } }
Gets the default value for the type.
Gets the default value for the type .
&self