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