Enum syntect::highlighting::ParseThemeError [] [src]

pub enum ParseThemeError {
    IncorrectUnderlineOption,
    IncorrectFontStyle(String),
    IncorrectColor,
    IncorrectSyntax,
    IncorrectSettings,
    UndefinedSettings,
    UndefinedScopeSettings(String),
    ColorShemeScopeIsNotObject,
    ColorShemeSettingsIsNotObject,
    ScopeSelectorIsNotString(String),
    DuplicateSettings,
    ScopeParse(ParseScopeError),
}

Variants

IncorrectUnderlineOptionIncorrectFontStyle(String)IncorrectColorIncorrectSyntaxIncorrectSettingsUndefinedSettingsUndefinedScopeSettings(String)ColorShemeScopeIsNotObjectColorShemeSettingsIsNotObjectScopeSelectorIsNotString(String)DuplicateSettingsScopeParse(ParseScopeError)

Trait Implementations

impl Debug for ParseThemeError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<ParseScopeError> for ParseThemeError
[src]

fn from(error: ParseScopeError) -> ParseThemeError

Performs the conversion.