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,
}
Returns the “default value” for a type.
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.