///
/// Create a new instance of the handle
///
Create a new instance of the handle
Create a new instance of the handle
fn new(parser: &Parser) -> TypeHandler {
        TypeHandler {
            mapping: HashMap::new(),
            enum_handler: Box::new(EnumTypeHandler {}),
            trait_handler: Box::new(TraitTypeHandler {
                template: parser.parse(QT_TRAIT_TYPE_TEMPLATE).unwrap(),
            }),
        }
    }
fn new ( parser : & Parser ) -> TypeHandler { TypeHandler { mapping : HashMap :: new ( ) , enum_handler : Box :: new ( EnumTypeHandler { } ) , trait_handler : Box :: new ( TraitTypeHandler { template : parser . parse ( QT_TRAIT_TYPE_TEMPLATE ) . unwrap ( ) , } ) , } }
Create a new instance of the handle
Create a new instance of the handle
parser
&Parser