pub fn lookup_type<'a>( idl: &'a IdlSpec, type_name: &str, ) -> Result<&'a IdlTypeDef, IdlSearchError>