pub struct LekhaniParser {
pub layout: Arc<CompiledLayout>,
}Fields§
§layout: Arc<CompiledLayout>Implementations§
Source§impl LekhaniParser
impl LekhaniParser
pub fn new(layout: Arc<CompiledLayout>) -> Self
Sourcepub fn convert_into(&self, input: &str, output: &mut String)
pub fn convert_into(&self, input: &str, output: &mut String)
Convert input string into Unicode Bengali, writing directly into output.
Zero heap allocations on the hot path.
Sourcepub fn convert_raw_into(&self, input: &str, output: &mut String)
pub fn convert_raw_into(&self, input: &str, output: &mut String)
Convert input string using pure raw grammar rules without extra diacritic reordering. Exactly matches the raw Avro grammar specification.
Sourcepub fn convert(&self, input: &str) -> String
pub fn convert(&self, input: &str) -> String
Convert input string into Unicode Bengali, returning a newly allocated String.
Sourcepub fn convert_raw(&self, input: &str) -> String
pub fn convert_raw(&self, input: &str) -> String
Convert input string using raw rules, returning a newly allocated String.
Trait Implementations§
Source§impl Clone for LekhaniParser
impl Clone for LekhaniParser
Auto Trait Implementations§
impl Forget for LekhaniParser
impl Freeze for LekhaniParser
impl Move for LekhaniParser
impl RefUnwindSafe for LekhaniParser
impl Send for LekhaniParser
impl Sync for LekhaniParser
impl Unpin for LekhaniParser
impl UnsafeUnpin for LekhaniParser
impl UnwindSafe for LekhaniParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more