BaseHangul implementation in Rust