[−][src]Struct antlr_rust::dfa_state::DFAState
Fields
state_number: usize
Number of this state in corresponding DFA
configs: Box<ATNConfigSet>
edges: Vec<DFAStateRef>
- 0 => no edge
- usize::MAX => error edge
- _ => actual edge
is_accept_state: bool
prediction: isize
requires_full_context: bool
predicates: Vec<PredPrediction>
Implementations
impl DFAState
[src]
pub fn default_hash(&self) -> u64
[src]
pub fn new_dfastate(stateNumber: usize, configs: Box<ATNConfigSet>) -> DFAState
[src]
Trait Implementations
impl Eq for DFAState
[src]
impl Hash for DFAState
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<DFAState> for DFAState
[src]
impl StructuralEq for DFAState
[src]
Auto Trait Implementations
impl RefUnwindSafe for DFAState
impl Send for DFAState
impl Sync for DFAState
impl Unpin for DFAState
impl UnwindSafe for DFAState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,