BaconSkin

Struct BaconSkin 

Source
pub struct BaconSkin {
Show 34 fields pub status_fg: DefaultingStatusFg, pub status_bg: DefaultingStatusBg, pub key_fg: DefaultingKeyFg, pub status_key_fg: DefaultingStatusKeyFg, pub project_name_badge_fg: DefaultingProjectNameBadgeFg, pub project_name_badge_bg: DefaultingProjectNameBadgeBg, pub job_label_badge_fg: DefaultingJobLabelBadgeFg, pub job_label_badge_bg: DefaultingJobLabelBadgeBg, pub errors_badge_fg: DefaultingErrorsBadgeFg, pub errors_badge_bg: DefaultingErrorsBadgeBg, pub test_fails_badge_fg: DefaultingTestFailsBadgeFg, pub test_fails_badge_bg: DefaultingTestFailsBadgeBg, pub test_pass_badge_fg: DefaultingTestPassBadgeFg, pub test_pass_badge_bg: DefaultingTestPassBadgeBg, pub warnings_badge_fg: DefaultingWarningsBadgeFg, pub warnings_badge_bg: DefaultingWarningsBadgeBg, pub command_error_badge_fg: DefaultingCommandErrorBadgeFg, pub command_error_badge_bg: DefaultingCommandErrorBadgeBg, pub dismissed_badge_fg: DefaultingDismissedBadgeFg, pub dismissed_badge_bg: DefaultingDismissedBadgeBg, pub change_badge_fg: DefaultingChangeBadgeFg, pub change_badge_bg: DefaultingChangeBadgeBg, pub computing_fg: DefaultingComputingFg, pub computing_bg: DefaultingComputingBg, pub found_fg: DefaultingFoundFg, pub found_selected_bg: DefaultingFoundSelectedBg, pub search_input_prefix_fg: DefaultingSearchInputPrefixFg, pub search_summary_fg: DefaultingSearchSummaryFg, pub menu_border: DefaultingMenuBorder, pub menu_bg: DefaultingMenuBg, pub menu_item_bg: DefaultingMenuItemBg, pub menu_item_selected_bg: DefaultingMenuItemSelectedBg, pub menu_item_fg: DefaultingMenuItemFg, pub menu_item_selected_fg: DefaultingMenuItemSelectedFg,
}
Expand description

Collection of optional color overrides for the Bacon UI.

Fields§

§status_fg: DefaultingStatusFg

Foreground color of the status line

§status_bg: DefaultingStatusBg

Background color of the status line

§key_fg: DefaultingKeyFg

Foreground color used for key shortcuts in the UI

§status_key_fg: DefaultingStatusKeyFg

Foreground color for key shortcuts displayed in the status line

§project_name_badge_fg: DefaultingProjectNameBadgeFg

Foreground color of the project name badge

§project_name_badge_bg: DefaultingProjectNameBadgeBg

Background color of the project name badge

§job_label_badge_fg: DefaultingJobLabelBadgeFg

Foreground color of the job label badge

§job_label_badge_bg: DefaultingJobLabelBadgeBg

Background color of the job label badge

§errors_badge_fg: DefaultingErrorsBadgeFg

Foreground color of the errors badge

§errors_badge_bg: DefaultingErrorsBadgeBg

Background color of the errors badge

§test_fails_badge_fg: DefaultingTestFailsBadgeFg

Foreground color of the failing-tests badge

§test_fails_badge_bg: DefaultingTestFailsBadgeBg

Background color of the failing-tests badge

§test_pass_badge_fg: DefaultingTestPassBadgeFg

Foreground color of the passing-tests badge

§test_pass_badge_bg: DefaultingTestPassBadgeBg

Background color of the passing-tests badge

§warnings_badge_fg: DefaultingWarningsBadgeFg

Foreground color of the warnings badge

§warnings_badge_bg: DefaultingWarningsBadgeBg

Background color of the warnings badge

§command_error_badge_fg: DefaultingCommandErrorBadgeFg

Foreground color of the command-error badge

§command_error_badge_bg: DefaultingCommandErrorBadgeBg

Background color of the command-error badge

§dismissed_badge_fg: DefaultingDismissedBadgeFg

Foreground color of the dismissed badge

§dismissed_badge_bg: DefaultingDismissedBadgeBg

Background color of the dismissed badge

§change_badge_fg: DefaultingChangeBadgeFg

Foreground color of the change badge

§change_badge_bg: DefaultingChangeBadgeBg

Background color of the change badge

§computing_fg: DefaultingComputingFg

Foreground color of the “computing…” indicator

§computing_bg: DefaultingComputingBg

Background color of the “computing…” indicator

§found_fg: DefaultingFoundFg

Foreground color of search matches

§found_selected_bg: DefaultingFoundSelectedBg

Background color of the selected search match

§search_input_prefix_fg: DefaultingSearchInputPrefixFg

Foreground color of the ‘/’ search prefix

§search_summary_fg: DefaultingSearchSummaryFg

Foreground color of the search summary

§menu_border: DefaultingMenuBorder

Border color used for menus

§menu_bg: DefaultingMenuBg

Background color used for menus

§menu_item_bg: DefaultingMenuItemBg

Background color of individual menu items

§menu_item_selected_bg: DefaultingMenuItemSelectedBg

Background color of the selected menu item

§menu_item_fg: DefaultingMenuItemFg

Foreground color of menu items

§menu_item_selected_fg: DefaultingMenuItemSelectedFg

Foreground color of the selected menu item

Implementations§

Source§

impl BaconSkin

Source

pub fn apply(&mut self, other: Self)

Source

pub fn status_fg(&self) -> u8

Source

pub fn status_bg(&self) -> u8

Source

pub fn key_fg(&self) -> u8

Source

pub fn status_key_fg(&self) -> u8

Source

pub fn project_name_badge_fg(&self) -> u8

Source

pub fn project_name_badge_bg(&self) -> u8

Source

pub fn job_label_badge_fg(&self) -> u8

Source

pub fn job_label_badge_bg(&self) -> u8

Source

pub fn errors_badge_fg(&self) -> u8

Source

pub fn errors_badge_bg(&self) -> u8

Source

pub fn test_fails_badge_fg(&self) -> u8

Source

pub fn test_fails_badge_bg(&self) -> u8

Source

pub fn test_pass_badge_fg(&self) -> u8

Source

pub fn test_pass_badge_bg(&self) -> u8

Source

pub fn warnings_badge_fg(&self) -> u8

Source

pub fn warnings_badge_bg(&self) -> u8

Source

pub fn command_error_badge_fg(&self) -> u8

Source

pub fn command_error_badge_bg(&self) -> u8

Source

pub fn dismissed_badge_fg(&self) -> u8

Source

pub fn dismissed_badge_bg(&self) -> u8

Source

pub fn change_badge_fg(&self) -> u8

Source

pub fn change_badge_bg(&self) -> u8

Source

pub fn computing_fg(&self) -> u8

Source

pub fn computing_bg(&self) -> u8

Source

pub fn found_fg(&self) -> u8

Source

pub fn found_selected_bg(&self) -> u8

Source

pub fn search_input_prefix_fg(&self) -> u8

Source

pub fn search_summary_fg(&self) -> u8

Source

pub fn menu_border(&self) -> u8

Source

pub fn menu_bg(&self) -> u8

Source

pub fn menu_item_bg(&self) -> u8

Source

pub fn menu_item_selected_bg(&self) -> u8

Source

pub fn menu_item_fg(&self) -> u8

Source

pub fn menu_item_selected_fg(&self) -> u8

Trait Implementations§

Source§

impl Clone for BaconSkin

Source§

fn clone(&self) -> BaconSkin

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BaconSkin

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for BaconSkin

Source§

fn default() -> BaconSkin

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

impl<'de> Deserialize<'de> for BaconSkin

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl JsonSchema for BaconSkin

Source§

fn schema_name() -> Cow<'static, str>

The name of the generated JSON Schema. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
Source§

fn inline_schema() -> bool

Whether JSON Schemas generated for this type should be included directly in parent schemas, rather than being re-used where possible using the $ref keyword. Read more
Source§

impl PartialEq for BaconSkin

Source§

fn eq(&self, other: &BaconSkin) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for BaconSkin

Source§

impl StructuralPartialEq for BaconSkin

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T