pub trait RuleBreakType: Sealed + Sized {
type IterAttr<'s>: Iterator<Item = (usize, Self::CharType)> + Clone + Debug;
type CharType: Copy + Into<u32> + Debug;
}
Expand description
A trait allowing for RuleBreakIterator to be generalized to multiple string encoding methods and granularity such as grapheme cluster, word, etc.
๐ซ This trait is sealed; it cannot be implemented by user code. If an API requests an item that implements this
trait, please consider using a type from the implementors listed below.
Required Associated Typesยง
Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.