Trait unicode_security::mixed_script::MixedScript
source · pub trait MixedScript {
// Required methods
fn is_single_script(self) -> bool;
fn resolve_script_set(self) -> AugmentedScriptSet;
}
Expand description
Extension trait for mixed-script detection
Required Methods§
sourcefn is_single_script(self) -> bool
fn is_single_script(self) -> bool
Check if a string is single-script
Note that a single-script string may still contain multiple Script properties!
sourcefn resolve_script_set(self) -> AugmentedScriptSet
fn resolve_script_set(self) -> AugmentedScriptSet
Find the resolved script set of a given string