ByteSpan

Type Alias ByteSpan 

Source
pub type ByteSpan<'a, X = ()> = LocatedSpan<&'a [u8], X>;
Expand description

Bytes reference with location.

Aliased Type§

pub struct ByteSpan<'a, X = ()> {
    pub extra: X,
    /* private fields */
}

Fields§

§extra: X

Extra information that can be embedded by the user. Example: the parsed file name