pub struct DefaultTheme;๐Deprecated since 0.3.0:
Use ThemeConfig::default() instead
Trait Implementationsยง
Sourceยงimpl RichTextTheme for DefaultTheme
impl RichTextTheme for DefaultTheme
fn generation(&self) -> Generation
fn get_text_color(&self) -> Color
fn get_muted_text_color(&self) -> Color
fn get_primary_color(&self) -> Color
fn get_secondary_color(&self) -> Color
fn get_info_color(&self) -> Color
fn get_border_color(&self) -> Color
fn get_focused_border_color(&self) -> Color
fn get_popup_selected_background(&self) -> Color
fn get_json_key_color(&self) -> Color
fn get_json_string_color(&self) -> Color
fn get_json_number_color(&self) -> Color
fn get_json_bool_color(&self) -> Color
fn get_json_null_color(&self) -> Color
fn get_accent_yellow(&self) -> Color
fn get_code_colors(&self) -> CodeColors
fn get_popup_selected_text_color(&self) -> Color
fn get_background_color(&self) -> Color
fn get_mermaid_theme(&self) -> MermaidTheme
Auto Trait Implementationsยง
impl Freeze for DefaultTheme
impl RefUnwindSafe for DefaultTheme
impl Send for DefaultTheme
impl Sync for DefaultTheme
impl Unpin for DefaultTheme
impl UnsafeUnpin for DefaultTheme
impl UnwindSafe for DefaultTheme
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
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more