Trait ScriptFunc

Source
pub trait ScriptFunc {
    // Required method
    fn script(&self, ch: char) -> [u8; 4];
}
Expand description

An object to map from code points to script names.

Required Methods§

Source

fn script(&self, ch: char) -> [u8; 4]

Given a code point, return the script as a 4-byte script name.

Implementors§