support Rust type casting syntax `(XXX as TYPE)`