servo / unicode-bidi

Implementation of the Unicode Bidirection Algorithm in Rust
Other
78 stars 33 forks source link

Add Level::from_slice_unchecked() #98

Closed Manishearth closed 1 year ago

Manishearth commented 1 year ago

To be able to use this over FFI I'd like to make this more explicitly transparent over u8.

I could also just mark it as transparent and let callers implement this, but I think offering it as an API is safer.