Struct gramatica::State [] [src]

pub struct State<T> {
    pub rule: usize,
    pub left: usize,
    pub right: Vec<usize>,
    pub position: usize,
    pub original_set: usize,
    pub kind: EarleyKind,
    pub values: Vec<T>,
    pub computed_value: T,
    pub ambiguity_info: AmbiguityInfo<T>,
}

Fields

Methods

impl<T: Clone + Default> State<T>
[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<T: Clone> Clone for State<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for State<T>
[src]

[src]

Formats the value using the given formatter.