pub struct ShellTheme { /* private fields */ }Expand description
A sample theme for shell usage.
Implementations§
Trait Implementations§
Source§impl Clone for ShellTheme
impl Clone for ShellTheme
Source§fn clone(&self) -> ShellTheme
fn clone(&self) -> ShellTheme
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ShellTheme
impl Debug for ShellTheme
Source§impl SalsaTheme for ShellTheme
impl SalsaTheme for ShellTheme
Source§fn limegreen(&self, n: usize) -> Style
fn limegreen(&self, n: usize) -> Style
Create a style from the given limegreen shade.
n is 0..8
Source§fn bluegreen(&self, n: usize) -> Style
fn bluegreen(&self, n: usize) -> Style
Create a style from the given bluegreen shade.
n is 0..8
Source§fn secondary(&self, n: usize) -> Style
fn secondary(&self, n: usize) -> Style
Create a style from the given secondary shade.
n is 0..8
Source§fn container_base(&self) -> Style
fn container_base(&self) -> Style
Container base
Source§fn container_border(&self) -> Style
fn container_border(&self) -> Style
Container border
Source§fn container_arrow(&self) -> Style
fn container_arrow(&self) -> Style
Container arrows
Source§fn popup_base(&self) -> Style
fn popup_base(&self) -> Style
Background for popups.
Source§fn popup_border(&self) -> Style
fn popup_border(&self) -> Style
Dialog arrows
Source§fn popup_arrow(&self) -> Style
fn popup_arrow(&self) -> Style
Dialog arrows
Source§fn dialog_base(&self) -> Style
fn dialog_base(&self) -> Style
Background for dialogs.
Source§fn dialog_border(&self) -> Style
fn dialog_border(&self) -> Style
Dialog arrows
Source§fn dialog_arrow(&self) -> Style
fn dialog_arrow(&self) -> Style
Dialog arrows
Source§fn status_base(&self) -> Style
fn status_base(&self) -> Style
Style for the status line.
Base style for buttons.
Armed style for buttons.
Source§fn month_style(&self) -> CalendarStyle
fn month_style(&self) -> CalendarStyle
Complete MonthStyle.
Source§fn shadow_style(&self) -> ShadowStyle
fn shadow_style(&self) -> ShadowStyle
Style for shadows.
Source§fn line_nr_style(&self) -> LineNumberStyle
fn line_nr_style(&self) -> LineNumberStyle
Style for LineNumbers.
Source§fn textarea_style(&self) -> TextStyle
fn textarea_style(&self) -> TextStyle
Complete TextAreaStyle
Source§fn text_style(&self) -> TextStyle
fn text_style(&self) -> TextStyle
Complete TextInputStyle
Source§fn label_style(&self) -> Style
fn label_style(&self) -> Style
Text-label style.
Source§fn checkbox_style(&self) -> CheckboxStyle
fn checkbox_style(&self) -> CheckboxStyle
Complete CheckboxStyle
Source§fn slider_style(&self) -> SliderStyle
fn slider_style(&self) -> SliderStyle
Slider Style
Complete MenuStyle
Complete ButtonStyle
Source§fn table_style(&self) -> TableStyle
fn table_style(&self) -> TableStyle
Complete TableStyle
Source§fn list_style(&self) -> ListStyle
fn list_style(&self) -> ListStyle
Complete ListStyle
Source§fn scroll_style(&self) -> ScrollStyle
fn scroll_style(&self) -> ScrollStyle
Scroll style
Source§fn popup_scroll_style(&self) -> ScrollStyle
fn popup_scroll_style(&self) -> ScrollStyle
Popup scroll style
Source§fn dialog_scroll_style(&self) -> ScrollStyle
fn dialog_scroll_style(&self) -> ScrollStyle
Dialog scroll style
Source§fn split_style(&self) -> SplitStyle
fn split_style(&self) -> SplitStyle
Split style
Source§fn view_style(&self) -> ViewStyle
fn view_style(&self) -> ViewStyle
View style
Source§fn tabbed_style(&self) -> TabbedStyle
fn tabbed_style(&self) -> TabbedStyle
Tabbed style
Source§fn statusline_style(&self) -> Vec<Style>
fn statusline_style(&self) -> Vec<Style>
Complete StatusLineStyle for a StatusLine with 3 indicator fields.
Source§fn statusline_style_ext(&self) -> StatusLineStyle
fn statusline_style_ext(&self) -> StatusLineStyle
StatusLineStyle for a StatusLine with 3 indicator fields.
Source§fn file_dialog_style(&self) -> FileDialogStyle
fn file_dialog_style(&self) -> FileDialogStyle
FileDialog style.
Source§fn msg_dialog_style(&self) -> MsgDialogStyle
fn msg_dialog_style(&self) -> MsgDialogStyle
Complete MsgDialogStyle.
Source§fn form_style(&self) -> FormStyle
fn form_style(&self) -> FormStyle
Form style.
Source§fn clipper_style(&self) -> ClipperStyle
fn clipper_style(&self) -> ClipperStyle
Clipper style.
Source§fn text_input(&self) -> Style
fn text_input(&self) -> Style
Source§fn text_focus(&self) -> Style
fn text_focus(&self) -> Style
Source§fn text_select(&self) -> Style
fn text_select(&self) -> Style
Source§fn paragraph_style(&self) -> ParagraphStyle
fn paragraph_style(&self) -> ParagraphStyle
Source§fn choice_style(&self) -> ChoiceStyle
fn choice_style(&self) -> ChoiceStyle
Source§fn radio_style(&self) -> RadioStyle
fn radio_style(&self) -> RadioStyle
Source§fn textview_style(&self) -> TextStyle
fn textview_style(&self) -> TextStyle
Auto Trait Implementations§
impl Freeze for ShellTheme
impl RefUnwindSafe for ShellTheme
impl Send for ShellTheme
impl Sync for ShellTheme
impl Unpin for ShellTheme
impl UnwindSafe for ShellTheme
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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