Skip to main content

PreNormalization

Trait PreNormalization 

Source
pub trait PreNormalization<I: Iterator<Item = char>> {
    // Required methods
    fn categorize(
        self,
        error: Rc<RefCell<Option<BasicTextError>>>,
    ) -> Categorize<I> ;
    fn isolate_unassigned(self) -> IsolateUnassigned<I> ;
}
Expand description

An extension crate providing iterator transforms useful before normalization.

Required Methods§

Source

fn categorize(self, error: Rc<RefCell<Option<BasicTextError>>>) -> Categorize<I>

Return an iterator which detects some sequences which are not valid in Basic Text.

Source

fn isolate_unassigned(self) -> IsolateUnassigned<I>

Return an iterator that inserts CGJs around unassigned scalar values to protect them from future normalization.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<I: Iterator<Item = char>> PreNormalization<I> for I