145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
* The type of the current step.
*
* If the current step is Step::Term, the weighter should be reset.
*/
pub step: Step,
}
impl<'a> BundleState<'a> {}
macro_rules! current_state {
($slf:ident, $step:expr) => {
BundleState {
cur_y: &$slf.cur_y,
cur_val: $slf.cur_val,
nxt_y: &$slf.nxt_y,
nxt_mod: $slf.nxt_mod,
|
<
<
|
145
146
147
148
149
150
151
152
153
154
155
156
157
158
|
* The type of the current step.
*
* If the current step is Step::Term, the weighter should be reset.
*/
pub step: Step,
}
macro_rules! current_state {
($slf:ident, $step:expr) => {
BundleState {
cur_y: &$slf.cur_y,
cur_val: $slf.cur_val,
nxt_y: &$slf.nxt_y,
nxt_mod: $slf.nxt_mod,
|