Enum syntect::parsing::ParseScopeError[][src]

pub enum ParseScopeError {
    TooLong,
    TooManyAtoms,
}

Not all strings are valid scopes

Variants

Due to a limitation of the current optimized internal representation scopes can be at most 8 atoms long

The internal representation uses 16 bits per atom, so if all scopes ever used by the program have more than 2^16-2 atoms, things break

Trait Implementations

impl From<ParseScopeError> for ParseThemeError
[src]

Performs the conversion.

impl Debug for ParseScopeError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations