pub trait ParseSetting: Sized {
// Required method
fn parse_setting(s: &str) -> Result<Self, &'static str>;
}Expand description
Parses a HarfBuzz-style setting from text.
This includes font variations, whose type is defined by read-fonts and
therefore cannot implement FromStr here.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".