[−][src]Struct branchy::Error
Fields
state: Vec<Symbol<Nt, T>>
kind: ErrorKind<Nt>
Methods
impl<Nt, T> Error<Nt, T> where
Nt: NonterminalValue,
T: TerminalValue,
[src]
Nt: NonterminalValue,
T: TerminalValue,
pub fn nonterm_expansion_failed(
state: Vec<Symbol<Nt, T>>,
expanded_nonterm_value: Nt
) -> Self
[src]
state: Vec<Symbol<Nt, T>>,
expanded_nonterm_value: Nt
) -> Self
pub fn max_iterations_reached(
state: Vec<Symbol<Nt, T>>,
iterations: usize
) -> Self
[src]
state: Vec<Symbol<Nt, T>>,
iterations: usize
) -> Self
Trait Implementations
impl<Nt, T> Debug for Error<Nt, T> where
Nt: NonterminalValue,
T: TerminalValue,
[src]
Nt: NonterminalValue,
T: TerminalValue,
impl<Nt, T> Display for Error<Nt, T> where
Nt: NonterminalValue,
T: TerminalValue,
[src]
Nt: NonterminalValue,
T: TerminalValue,
impl<Nt, T> Error for Error<Nt, T> where
Nt: NonterminalValue,
T: TerminalValue,
[src]
Nt: NonterminalValue,
T: TerminalValue,
Auto Trait Implementations
impl<Nt, T> RefUnwindSafe for Error<Nt, T> where
Nt: RefUnwindSafe,
T: RefUnwindSafe,
Nt: RefUnwindSafe,
T: RefUnwindSafe,
impl<Nt, T> Send for Error<Nt, T> where
Nt: Send,
T: Send,
Nt: Send,
T: Send,
impl<Nt, T> Sync for Error<Nt, T> where
Nt: Sync,
T: Sync,
Nt: Sync,
T: Sync,
impl<Nt, T> Unpin for Error<Nt, T> where
Nt: Unpin,
T: Unpin,
Nt: Unpin,
T: Unpin,
impl<Nt, T> UnwindSafe for Error<Nt, T> where
Nt: UnwindSafe,
T: UnwindSafe,
Nt: UnwindSafe,
T: UnwindSafe,
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,