pub fn new(icu_data: icu_data::Loader) -> Rc<Self> {
        let handler = Handler {
            state: RefCell::new(State::S0000),
            // The NFC normalizer performs the needed composition and is not
            // lossy.
            normalizer: unorm::UNormalizer::new_nfc().unwrap(),
            _data: icu_data,
        };
        Rc::new(handler)
    }
/// Creates a new instance of the dead keys handler.
Creates a new instance of the dead keys handler.
Creates a new instance of the dead keys handler .
pub fn new(icu_data: icu_data::Loader) -> Rc<Self> {
        let handler = Handler {
            state: RefCell::new(State::S0000),
            // The NFC normalizer performs the needed composition and is not
            // lossy.
            normalizer: unorm::UNormalizer::new_nfc().unwrap(),
            _data: icu_data,
        };
        Rc::new(handler)
    }
pub fn new ( icu_data : icu_data :: Loader ) -> Rc < Self > { let handler = Handler { state : RefCell :: new ( State :: S0000 ) , // The NFC normalizer performs the needed composition and is not // lossy. normalizer : unorm :: UNormalizer :: new_nfc ( ) . unwrap ( ) , _data : icu_data , } ; Rc :: new ( handler ) }
Creates a new instance of the dead keys handler.
Creates a new instance of the dead keys handler .
icu_data
icu_data::Loader
icu_data
icu_data::Loader