Trait precis_core::stringclasses::StringClass
source · pub trait StringClass {
// Required methods
fn get_value_from_char(&self, c: char) -> DerivedPropertyValue;
fn get_value_from_codepoint(&self, cp: u32) -> DerivedPropertyValue;
// Provided method
fn allows<S>(&self, label: S) -> Result<(), Error>
where S: AsRef<str> { ... }
}
Expand description
Base interface for all String classes in PRECIS framework.
Required Methods§
sourcefn get_value_from_char(&self, c: char) -> DerivedPropertyValue
fn get_value_from_char(&self, c: char) -> DerivedPropertyValue
sourcefn get_value_from_codepoint(&self, cp: u32) -> DerivedPropertyValue
fn get_value_from_codepoint(&self, cp: u32) -> DerivedPropertyValue
Provided Methods§
Object Safety§
This trait is not object safe.