Type Alias arithmetic_parser::InputSpan
source · pub type InputSpan<'a> = LocatedSpan<&'a str, ()>;
Expand description
Code span.
Aliased Type§
struct InputSpan<'a> {
pub extra: (),
/* private fields */
}
Fields§
§extra: ()
Extra information that can be embedded by the user. Example: the parsed file name
Trait Implementations§
source§impl<'a> IntoInputSpan<'a> for InputSpan<'a>
impl<'a> IntoInputSpan<'a> for InputSpan<'a>
source§fn into_input_span(self) -> InputSpan<'a>
fn into_input_span(self) -> InputSpan<'a>
Converts input into a span.