Skip to main content

Module unicode

Module unicode 

Source
Expand description

Native unicode module for Unicode text processing.

Exports: unicode.normalize, unicode.category, unicode.is_letter, unicode.is_digit, unicode.graphemes

Phase 2c: migrated to the typed marshal layer (crate::marshal::register_typed_fn_N). Native function bodies take typed Rust args via crate::marshal::FromSlot; their Rust signatures are the typed signatures. The Rust trait system rejects registration whose body’s parameter types don’t match.

Functions§

create_unicode_module
Create the unicode module.