hsk

Crates.iohsk
lib.rshsk
version0.1.1
sourcesrc
created_at2020-10-08 15:46:55.471198
updated_at2023-11-10 23:23:57.975362
descriptionReturn HSK Level for Simplified Chinese Characters
homepage
repositoryhttps://github.com/sotch-pr35mac/hsk
max_upload_size
id297309
size79,564
Preston Wang-Stosur-Bassett (sotch-pr35mac)

documentation

README

hsk

About

Return HSK Level for Simplified Chinese Characters

Usage

extern crate hsk;

use hsk::Hsk;

fn main() {
	let hsk_list = Hsk::new();
	let character: &str = "成为";
	let result: u8 = hsk_list.get_hsk(character);
	println!("{:?}", result); // --> 4
}

Contributors

License

MIT

Commit count: 4

cargo fmt