Struct pepper::theme::Theme

source ·
pub struct Theme {
Show 18 fields pub normal_background: Color, pub active_background: Color, pub breakpoint_background: Color, pub highlight: Color, pub normal_cursor: Color, pub select_cursor: Color, pub insert_cursor: Color, pub inactive_cursor: Color, pub statusbar_active_background: Color, pub statusbar_inactive_background: Color, pub token_whitespace: Color, pub token_text: Color, pub token_comment: Color, pub token_keyword: Color, pub token_type: Color, pub token_symbol: Color, pub token_string: Color, pub token_literal: Color,
}

Fields§

§normal_background: Color§active_background: Color§breakpoint_background: Color§highlight: Color§normal_cursor: Color§select_cursor: Color§insert_cursor: Color§inactive_cursor: Color§statusbar_active_background: Color§statusbar_inactive_background: Color§token_whitespace: Color§token_text: Color§token_comment: Color§token_keyword: Color§token_type: Color§token_symbol: Color§token_string: Color§token_literal: Color

Implementations§

Trait Implementations§

Returns the “default value” for a type. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.