Skip to main content

StringSegment

Type Alias StringSegment 

Source
pub type StringSegment = Segment<char, String>;
Expand description

An owned, type-erased representation of a Segment.

Aliased Type§

pub enum StringSegment {
    Chunk(String),
    Delim(char),
}

Variants§

§

Chunk(String)

A chunk (run of non-delimiter characters) of an identifier.

§

Delim(char)

A single delimiter.