Trait unicode_script::UnicodeScript

source ·
pub trait UnicodeScript {
    // Required methods
    fn script(&self) -> Script;
    fn script_extension(&self) -> ScriptExtension;
}
Expand description

Extension trait on char for calculating script properties

Required Methods§

source

fn script(&self) -> Script

Get the script for a given character

source

fn script_extension(&self) -> ScriptExtension

Get the Script_Extension for a given character

Implementations on Foreign Types§

source§

impl UnicodeScript for char

Implementors§