1 unstable release
Uses old Rust 2015
0.1.0 | Jun 11, 2019 |
---|
#995 in Text processing
108,831 downloads per month
Used in 90 crates
(4 directly)
17KB
284 lines
unicode-vo
This library implements Unicode Vertical_Orientation Property (annex #50).
use unicode_vo::*;
assert_eq!(char_orientation('A'), Orientation::Rotated);
assert_eq!(char_orientation('本'), Orientation::Upright);
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
This library implements Unicode Vertical_Orientation Property (annex #50).
use unicode_vo::*;
assert_eq!(char_orientation('A'), Orientation::Rotated);
assert_eq!(char_orientation('本'), Orientation::Upright);