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

pub enum ParseScopeError {
    TooLong,
    TooManyAtoms,
}
Expand description

Not all strings are valid scopes

Variants

TooLong

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

TooManyAtoms

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

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.