Enum syntect::parsing::ParseScopeError [−][src]
pub enum ParseScopeError { TooLong, TooManyAtoms, }
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
impl From<ParseScopeError> for ParseThemeError
[src]
impl From<ParseScopeError> for ParseThemeError
fn from(error: ParseScopeError) -> ParseThemeError
[src]
fn from(error: ParseScopeError) -> ParseThemeError
Performs the conversion.
impl Debug for ParseScopeError
[src]
impl Debug for ParseScopeError
Auto Trait Implementations
impl Send for ParseScopeError
impl Send for ParseScopeError
impl Sync for ParseScopeError
impl Sync for ParseScopeError