refactoring: move type arm parsing into separate function
refactoring: move type arm parsing into separate function

Dushistov/rust_swig,Dushistov/rust_swig,Dushistov/rust_swig,Dushistov/rust_swig,Dushistov/rust_swig