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<T, X> Deref for LocatedSpan<T, X>

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &<LocatedSpan<T, X> as Deref>::Target

Dereferences the value.
source§

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

source§

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

Converts input into a span.