pub struct State {
pub transitions: [u32; 128],
pub composition: Box<[Transformation]>,
}Expand description
A DFA state representing a unique syllable composition.
Each state stores transitions to next states based on ASCII keys and the corresponding transformation stack (composition).
Fields§
§transitions: [u32; 128]State transition table for 128 ASCII characters. A value of 0 indicates no transition or fallback to the Rule Engine.
composition: Box<[Transformation]>The transformation stack that makes up this state.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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