pub struct Akshara { /* private fields */ }Expand description
A Sanskrit syllable.
An akshara follows the following rules:
- It must contain exactly one vowel.
- It must end with a vowel, an anusvara, or a visarga.
- It must not start with an anusvara or visarga.
Together, these three rurles mean that an input string has exactly one division into aksharas.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Akshara
Auto Trait Implementations§
impl Freeze for Akshara
impl RefUnwindSafe for Akshara
impl Send for Akshara
impl Sync for Akshara
impl Unpin for Akshara
impl UnwindSafe for Akshara
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