trait StateTableDriver<Table, E: FromData> {
    // Required method
    fn transition(
        &mut self,
        aat: &Table,
        entry: GenericStateEntry<E>,
        has_cross_stream: bool,
        tuple_count: u32,
        plan: &hb_ot_shape_plan_t,
        buffer: &mut hb_buffer_t,
    ) -> Option<()>;
}