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

IncorrectUnderlineOption

IncorrectFontStyle(String)

Tuple Fields

0: String

IncorrectColor

IncorrectSyntax

IncorrectSettings

UndefinedSettings

UndefinedScopeSettings(String)

Tuple Fields

0: String

ColorShemeScopeIsNotObject

ColorShemeSettingsIsNotObject

ScopeSelectorIsNotString(String)

Tuple Fields

0: String

DuplicateSettings

ScopeParse(ParseScopeError)

Tuple Fields

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

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.