pub trait Alt<I, O, E> {
// Required method
fn choice(&mut self, input: &mut I) -> Result<O, E>;
}Expand description
Helper trait for the alt() combinator.
This trait is implemented for tuples of up to 21 elements
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".