Enum syntect::highlighting::ParseThemeError
source · pub enum ParseThemeError {
IncorrectUnderlineOption,
IncorrectFontStyle(String),
IncorrectColor,
IncorrectSyntax,
IncorrectSettings,
UndefinedSettings,
UndefinedScopeSettings(String),
ColorShemeScopeIsNotObject,
ColorShemeSettingsIsNotObject,
ScopeSelectorIsNotString(String),
DuplicateSettings,
ScopeParse(ParseScopeError),
}
Variants§
IncorrectUnderlineOption
IncorrectFontStyle(String)
IncorrectColor
IncorrectSyntax
IncorrectSettings
UndefinedSettings
UndefinedScopeSettings(String)
ColorShemeScopeIsNotObject
ColorShemeSettingsIsNotObject
ScopeSelectorIsNotString(String)
DuplicateSettings
ScopeParse(ParseScopeError)
Trait Implementations§
source§impl Debug for ParseThemeError
impl Debug for ParseThemeError
source§impl From<ParseScopeError> for ParseThemeError
impl From<ParseScopeError> for ParseThemeError
source§fn from(error: ParseScopeError) -> ParseThemeError
fn from(error: ParseScopeError) -> ParseThemeError
Converts to this type from the input type.
source§impl From<ParseThemeError> for LoadingError
impl From<ParseThemeError> for LoadingError
source§fn from(error: ParseThemeError) -> LoadingError
fn from(error: ParseThemeError) -> LoadingError
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ParseThemeError
impl Send for ParseThemeError
impl Sync for ParseThemeError
impl Unpin for ParseThemeError
impl UnwindSafe for ParseThemeError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more