Trait arithmetic_parser::grammars::IntoInputSpan

source ·
pub trait IntoInputSpan<'a> {
    // Required method
    fn into_input_span(self) -> InputSpan<'a>;
}
Expand description

Helper trait allowing Parse to accept multiple types as inputs.

Required Methods§

source

fn into_input_span(self) -> InputSpan<'a>

Converts input into a span.

Implementations on Foreign Types§

source§

impl<'a> IntoInputSpan<'a> for &'a str

Implementors§

source§

impl<'a> IntoInputSpan<'a> for InputSpan<'a>