pub struct ThemeColors {Show 137 fields
pub border: Hsla,
pub border_variant: Hsla,
pub border_focused: Hsla,
pub border_selected: Hsla,
pub border_transparent: Hsla,
pub border_disabled: Hsla,
pub elevated_surface_background: Hsla,
pub surface_background: Hsla,
pub background: Hsla,
pub element_background: Hsla,
pub element_hover: Hsla,
pub element_active: Hsla,
pub element_selected: Hsla,
pub element_selection_background: Hsla,
pub element_disabled: Hsla,
pub drop_target_background: Hsla,
pub drop_target_border: Hsla,
pub ghost_element_background: Hsla,
pub ghost_element_hover: Hsla,
pub ghost_element_active: Hsla,
pub ghost_element_selected: Hsla,
pub ghost_element_disabled: Hsla,
pub text: Hsla,
pub text_muted: Hsla,
pub text_placeholder: Hsla,
pub text_disabled: Hsla,
pub text_accent: Hsla,
pub icon: Hsla,
pub icon_muted: Hsla,
pub icon_disabled: Hsla,
pub icon_placeholder: Hsla,
pub icon_accent: Hsla,
pub debugger_accent: Hsla,
pub status_bar_background: Hsla,
pub title_bar_background: Hsla,
pub title_bar_inactive_background: Hsla,
pub toolbar_background: Hsla,
pub tab_bar_background: Hsla,
pub tab_inactive_background: Hsla,
pub tab_active_background: Hsla,
pub search_match_background: Hsla,
pub search_active_match_background: Hsla,
pub panel_background: Hsla,
pub panel_focused_border: Hsla,
pub panel_indent_guide: Hsla,
pub panel_indent_guide_hover: Hsla,
pub panel_indent_guide_active: Hsla,
pub panel_overlay_background: Hsla,
pub panel_overlay_hover: Hsla,
pub pane_focused_border: Hsla,
pub pane_group_border: Hsla,
pub scrollbar_thumb_background: Hsla,
pub scrollbar_thumb_hover_background: Hsla,
pub scrollbar_thumb_active_background: Hsla,
pub scrollbar_thumb_border: Hsla,
pub scrollbar_track_background: Hsla,
pub scrollbar_track_border: Hsla,
pub minimap_thumb_background: Hsla,
pub minimap_thumb_hover_background: Hsla,
pub minimap_thumb_active_background: Hsla,
pub minimap_thumb_border: Hsla,
pub vim_normal_background: Hsla,
pub vim_insert_background: Hsla,
pub vim_replace_background: Hsla,
pub vim_visual_background: Hsla,
pub vim_visual_line_background: Hsla,
pub vim_visual_block_background: Hsla,
pub vim_yank_background: Hsla,
pub vim_helix_jump_label_foreground: Hsla,
pub vim_helix_normal_background: Hsla,
pub vim_helix_select_background: Hsla,
pub vim_normal_foreground: Hsla,
pub vim_insert_foreground: Hsla,
pub vim_replace_foreground: Hsla,
pub vim_visual_foreground: Hsla,
pub vim_visual_line_foreground: Hsla,
pub vim_visual_block_foreground: Hsla,
pub vim_helix_normal_foreground: Hsla,
pub vim_helix_select_foreground: Hsla,
pub editor_foreground: Hsla,
pub editor_background: Hsla,
pub editor_gutter_background: Hsla,
pub editor_subheader_background: Hsla,
pub editor_active_line_background: Hsla,
pub editor_highlighted_line_background: Hsla,
pub editor_debugger_active_line_background: Hsla,
pub editor_line_number: Hsla,
pub editor_active_line_number: Hsla,
pub editor_hover_line_number: Hsla,
pub editor_invisible: Hsla,
pub editor_wrap_guide: Hsla,
pub editor_active_wrap_guide: Hsla,
pub editor_indent_guide: Hsla,
pub editor_indent_guide_active: Hsla,
pub editor_document_highlight_read_background: Hsla,
pub editor_document_highlight_write_background: Hsla,
pub editor_document_highlight_bracket_background: Hsla,
pub terminal_background: Hsla,
pub terminal_foreground: Hsla,
pub terminal_bright_foreground: Hsla,
pub terminal_dim_foreground: Hsla,
pub terminal_ansi_background: Hsla,
pub terminal_ansi_black: Hsla,
pub terminal_ansi_bright_black: Hsla,
pub terminal_ansi_dim_black: Hsla,
pub terminal_ansi_red: Hsla,
pub terminal_ansi_bright_red: Hsla,
pub terminal_ansi_dim_red: Hsla,
pub terminal_ansi_green: Hsla,
pub terminal_ansi_bright_green: Hsla,
pub terminal_ansi_dim_green: Hsla,
pub terminal_ansi_yellow: Hsla,
pub terminal_ansi_bright_yellow: Hsla,
pub terminal_ansi_dim_yellow: Hsla,
pub terminal_ansi_blue: Hsla,
pub terminal_ansi_bright_blue: Hsla,
pub terminal_ansi_dim_blue: Hsla,
pub terminal_ansi_magenta: Hsla,
pub terminal_ansi_bright_magenta: Hsla,
pub terminal_ansi_dim_magenta: Hsla,
pub terminal_ansi_cyan: Hsla,
pub terminal_ansi_bright_cyan: Hsla,
pub terminal_ansi_dim_cyan: Hsla,
pub terminal_ansi_white: Hsla,
pub terminal_ansi_bright_white: Hsla,
pub terminal_ansi_dim_white: Hsla,
pub link_text_hover: Hsla,
pub version_control_added: Hsla,
pub version_control_deleted: Hsla,
pub version_control_modified: Hsla,
pub version_control_renamed: Hsla,
pub version_control_conflict: Hsla,
pub version_control_ignored: Hsla,
pub version_control_word_added: Hsla,
pub version_control_word_deleted: Hsla,
pub version_control_conflict_marker_ours: Hsla,
pub version_control_conflict_marker_theirs: Hsla,
}Fields§
§border: HslaBorder color. Used for most borders, is usually a high contrast color.
border_variant: HslaBorder color. Used for deemphasized borders, like a visual divider between two sections
border_focused: HslaBorder color. Used for focused elements, like keyboard focused list item.
border_selected: HslaBorder color. Used for selected elements, like an active search filter or selected checkbox.
border_transparent: HslaBorder color. Used for transparent borders. Used for placeholder borders when an element gains a border on state change.
border_disabled: HslaBorder color. Used for disabled elements, like a disabled input or button.
elevated_surface_background: HslaBorder color. Used for elevated surfaces, like a context menu, popup, or dialog.
surface_background: HslaBackground Color. Used for grounded surfaces like a panel or tab.
background: HslaBackground Color. Used for the app background and blank panels or windows.
element_background: HslaBackground Color. Used for the background of an element that should have a different background than the surface it’s on.
Elements might include: Buttons, Inputs, Checkboxes, Radio Buttons…
For an element that should have the same background as the surface it’s on, use ghost_element_background.
element_hover: HslaBackground Color. Used for the hover state of an element that should have a different background than the surface it’s on.
Hover states are triggered by the mouse entering an element, or a finger touching an element on a touch screen.
element_active: HslaBackground Color. Used for the active state of an element that should have a different background than the surface it’s on.
Active states are triggered by the mouse button being pressed down on an element, or the Return button or other activator being pressed.
element_selected: HslaBackground Color. Used for the selected state of an element that should have a different background than the surface it’s on.
Selected states are triggered by the element being selected (or “activated”) by the user.
This could include a selected checkbox, a toggleable button that is toggled on, etc.
element_selection_background: HslaBackground Color. Used for the background of selections in a UI element.
element_disabled: HslaBackground Color. Used for the disabled state of an element that should have a different background than the surface it’s on.
Disabled states are shown when a user cannot interact with an element, like a disabled button or input.
drop_target_background: HslaBackground Color. Used for the area that shows where a dragged element will be dropped.
drop_target_border: HslaBorder Color. Used for the border that shows where a dragged element will be dropped.
ghost_element_background: HslaUsed for the background of a ghost element that should have the same background as the surface it’s on.
Elements might include: Buttons, Inputs, Checkboxes, Radio Buttons…
For an element that should have a different background than the surface it’s on, use element_background.
ghost_element_hover: HslaBackground Color. Used for the hover state of a ghost element that should have the same background as the surface it’s on.
Hover states are triggered by the mouse entering an element, or a finger touching an element on a touch screen.
ghost_element_active: HslaBackground Color. Used for the active state of a ghost element that should have the same background as the surface it’s on.
Active states are triggered by the mouse button being pressed down on an element, or the Return button or other activator being pressed.
ghost_element_selected: HslaBackground Color. Used for the selected state of a ghost element that should have the same background as the surface it’s on.
Selected states are triggered by the element being selected (or “activated”) by the user.
This could include a selected checkbox, a toggleable button that is toggled on, etc.
ghost_element_disabled: HslaBackground Color. Used for the disabled state of a ghost element that should have the same background as the surface it’s on.
Disabled states are shown when a user cannot interact with an element, like a disabled button or input.
text: HslaText Color. Default text color used for most text.
text_muted: HslaText Color. Color of muted or deemphasized text. It is a subdued version of the standard text color.
text_placeholder: HslaText Color. Color of the placeholder text typically shown in input fields to guide the user to enter valid data.
text_disabled: HslaText Color. Color used for text denoting disabled elements. Typically, the color is faded or grayed out to emphasize the disabled state.
text_accent: HslaText Color. Color used for emphasis or highlighting certain text, like an active filter or a matched character in a search.
icon: HslaFill Color. Used for the default fill color of an icon.
icon_muted: HslaFill Color. Used for the muted or deemphasized fill color of an icon.
This might be used to show an icon in an inactive pane, or to deemphasize a series of icons to give them less visual weight.
icon_disabled: HslaFill Color. Used for the disabled fill color of an icon.
Disabled states are shown when a user cannot interact with an element, like a icon button.
icon_placeholder: HslaFill Color. Used for the placeholder fill color of an icon.
This might be used to show an icon in an input that disappears when the user enters text.
icon_accent: HslaFill Color. Used for the accent fill color of an icon.
This might be used to show when a toggleable icon button is selected.
debugger_accent: HslaColor used to accent some debugger elements Is used by breakpoints
status_bar_background: Hsla§title_bar_background: Hsla§title_bar_inactive_background: Hsla§toolbar_background: Hsla§tab_bar_background: Hsla§tab_inactive_background: Hsla§tab_active_background: Hsla§search_match_background: Hsla§search_active_match_background: Hsla§panel_background: Hsla§panel_focused_border: Hsla§panel_indent_guide: Hsla§panel_indent_guide_hover: Hsla§panel_indent_guide_active: Hsla§panel_overlay_background: HslaThe color of the overlay surface on top of panel.
panel_overlay_hover: HslaThe color of the overlay surface on top of panel when hovered over.
pane_focused_border: Hsla§pane_group_border: Hsla§scrollbar_thumb_background: HslaThe color of the scrollbar thumb.
scrollbar_thumb_hover_background: HslaThe color of the scrollbar thumb when hovered over.
scrollbar_thumb_active_background: HslaThe color of the scrollbar thumb whilst being actively dragged.
scrollbar_thumb_border: HslaThe border color of the scrollbar thumb.
scrollbar_track_background: HslaThe background color of the scrollbar track.
scrollbar_track_border: HslaThe border color of the scrollbar track.
minimap_thumb_background: HslaThe color of the minimap thumb.
minimap_thumb_hover_background: HslaThe color of the minimap thumb when hovered over.
minimap_thumb_active_background: HslaThe color of the minimap thumb whilst being actively dragged.
minimap_thumb_border: HslaThe border color of the minimap thumb.
vim_normal_background: HslaBackground color for Vim Normal mode indicator.
vim_insert_background: HslaBackground color for Vim Insert mode indicator.
vim_replace_background: HslaBackground color for Vim Replace mode indicator.
vim_visual_background: HslaBackground color for Vim Visual mode indicator.
vim_visual_line_background: HslaBackground color for Vim Visual Line mode indicator.
vim_visual_block_background: HslaBackground color for Vim Visual Block mode indicator.
vim_yank_background: HslaBackground color for Vim yank highlight.
vim_helix_jump_label_foreground: HslaForeground color for Helix jump labels.
vim_helix_normal_background: HslaBackground color for Vim Helix Normal mode indicator.
vim_helix_select_background: HslaBackground color for Vim Helix Select mode indicator.
vim_normal_foreground: HslaForeground color for Vim Normal mode indicator.
vim_insert_foreground: HslaForeground color for Vim Insert mode indicator.
vim_replace_foreground: HslaForeground color for Vim Replace mode indicator.
vim_visual_foreground: HslaForeground color for Vim Visual mode indicator.
vim_visual_line_foreground: HslaForeground color for Vim Visual Line mode indicator.
vim_visual_block_foreground: HslaForeground color for Vim Visual Block mode indicator.
vim_helix_normal_foreground: HslaForeground color for Vim Helix Normal mode indicator.
vim_helix_select_foreground: HslaForeground color for Vim Helix Select mode indicator.
editor_foreground: Hsla§editor_background: Hsla§editor_gutter_background: Hsla§editor_subheader_background: Hsla§editor_active_line_background: Hsla§editor_highlighted_line_background: Hsla§editor_debugger_active_line_background: HslaLine color of the line a debugger is currently stopped at
editor_line_number: HslaText Color. Used for the text of the line number in the editor gutter.
editor_active_line_number: HslaText Color. Used for the text of the line number in the editor gutter when the line is highlighted.
editor_hover_line_number: HslaText Color. Used for the text of the line number in the editor gutter when the line is hovered over.
editor_invisible: HslaText Color. Used to mark invisible characters in the editor.
Example: spaces, tabs, carriage returns, etc.
editor_wrap_guide: Hsla§editor_active_wrap_guide: Hsla§editor_indent_guide: Hsla§editor_indent_guide_active: Hsla§editor_document_highlight_read_background: HslaRead-access of a symbol, like reading a variable.
A document highlight is a range inside a text document which deserves special attention. Usually a document highlight is visualized by changing the background color of its range.
editor_document_highlight_write_background: HslaRead-access of a symbol, like reading a variable.
A document highlight is a range inside a text document which deserves special attention. Usually a document highlight is visualized by changing the background color of its range.
editor_document_highlight_bracket_background: HslaHighlighted brackets background color.
Matching brackets in the cursor scope are highlighted with this background color.
terminal_background: HslaTerminal layout background color.
terminal_foreground: HslaTerminal foreground color.
terminal_bright_foreground: HslaBright terminal foreground color.
terminal_dim_foreground: HslaDim terminal foreground color.
terminal_ansi_background: HslaTerminal ANSI background color.
terminal_ansi_black: HslaBlack ANSI terminal color.
terminal_ansi_bright_black: HslaBright black ANSI terminal color.
terminal_ansi_dim_black: HslaDim black ANSI terminal color.
terminal_ansi_red: HslaRed ANSI terminal color.
terminal_ansi_bright_red: HslaBright red ANSI terminal color.
terminal_ansi_dim_red: HslaDim red ANSI terminal color.
terminal_ansi_green: HslaGreen ANSI terminal color.
terminal_ansi_bright_green: HslaBright green ANSI terminal color.
terminal_ansi_dim_green: HslaDim green ANSI terminal color.
terminal_ansi_yellow: HslaYellow ANSI terminal color.
terminal_ansi_bright_yellow: HslaBright yellow ANSI terminal color.
terminal_ansi_dim_yellow: HslaDim yellow ANSI terminal color.
terminal_ansi_blue: HslaBlue ANSI terminal color.
terminal_ansi_bright_blue: HslaBright blue ANSI terminal color.
terminal_ansi_dim_blue: HslaDim blue ANSI terminal color.
terminal_ansi_magenta: HslaMagenta ANSI terminal color.
terminal_ansi_bright_magenta: HslaBright magenta ANSI terminal color.
terminal_ansi_dim_magenta: HslaDim magenta ANSI terminal color.
terminal_ansi_cyan: HslaCyan ANSI terminal color.
terminal_ansi_bright_cyan: HslaBright cyan ANSI terminal color.
terminal_ansi_dim_cyan: HslaDim cyan ANSI terminal color.
terminal_ansi_white: HslaWhite ANSI terminal color.
terminal_ansi_bright_white: HslaBright white ANSI terminal color.
terminal_ansi_dim_white: HslaDim white ANSI terminal color.
link_text_hover: HslaRepresents a link text hover color.
version_control_added: HslaRepresents an added entry or hunk in vcs, like git.
version_control_deleted: HslaRepresents a deleted entry in version control systems.
version_control_modified: HslaRepresents a modified entry in version control systems.
version_control_renamed: HslaRepresents a renamed entry in version control systems.
version_control_conflict: HslaRepresents a conflicting entry in version control systems.
version_control_ignored: HslaRepresents an ignored entry in version control systems.
version_control_word_added: HslaRepresents an added word in a word diff.
version_control_word_deleted: HslaRepresents a deleted word in a word diff.
version_control_conflict_marker_ours: HslaRepresents the “ours” region of a merge conflict.
version_control_conflict_marker_theirs: HslaRepresents the “theirs” region of a merge conflict.
Implementations§
Source§impl ThemeColors
The default colors for the theme.
impl ThemeColors
The default colors for the theme.
Themes that do not specify all colors are refined off of these defaults.
Source§impl ThemeColors
impl ThemeColors
pub fn color(&self, field: ThemeColorField) -> Hsla
pub fn iter(&self) -> impl Iterator<Item = (ThemeColorField, Hsla)> + '_
pub fn to_vec(&self) -> Vec<(ThemeColorField, Hsla)>
Trait Implementations§
Source§impl Clone for ThemeColors
impl Clone for ThemeColors
Source§fn clone(&self) -> ThemeColors
fn clone(&self) -> ThemeColors
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ThemeColors
impl Debug for ThemeColors
Source§impl From<ThemeColorsRefinement> for ThemeColors
impl From<ThemeColorsRefinement> for ThemeColors
Source§fn from(value: ThemeColorsRefinement) -> Self
fn from(value: ThemeColorsRefinement) -> Self
Source§impl PartialEq for ThemeColors
impl PartialEq for ThemeColors
Source§fn eq(&self, other: &ThemeColors) -> bool
fn eq(&self, other: &ThemeColors) -> bool
self and other values to be equal, and is used by ==.Source§impl Refineable for ThemeColors
impl Refineable for ThemeColors
type Refinement = ThemeColorsRefinement
Source§fn refine(&mut self, refinement: &Self::Refinement)
fn refine(&mut self, refinement: &Self::Refinement)
Source§fn refined(self, refinement: Self::Refinement) -> Self
fn refined(self, refinement: Self::Refinement) -> Self
self and calling
refine on it.Source§fn is_superset_of(&self, refinement: &Self::Refinement) -> bool
fn is_superset_of(&self, refinement: &Self::Refinement) -> bool
true if this instance would contain all values from the refinement. Read moreSource§fn subtract(&self, refinement: &Self::Refinement) -> Self::Refinement
fn subtract(&self, refinement: &Self::Refinement) -> Self::Refinement
impl StructuralPartialEq for ThemeColors
Auto Trait Implementations§
impl Freeze for ThemeColors
impl RefUnwindSafe for ThemeColors
impl Send for ThemeColors
impl Sync for ThemeColors
impl Unpin for ThemeColors
impl UnsafeUnpin for ThemeColors
impl UnwindSafe for ThemeColors
Blanket Implementations§
Source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
Source§impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
Source§fn arrays_from(colors: C) -> T
fn arrays_from(colors: C) -> T
Source§impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
Source§fn arrays_into(self) -> C
fn arrays_into(self) -> C
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<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
Source§type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
parameters when converting.Source§fn cam16_into_unclamped(
self,
parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>,
) -> T
fn cam16_into_unclamped( self, parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>, ) -> T
self into C, using the provided parameters.impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
Source§fn components_from(colors: C) -> T
fn components_from(colors: C) -> T
Source§impl<T> FromAngle<T> for T
impl<T> FromAngle<T> for T
Source§fn from_angle(angle: T) -> T
fn from_angle(angle: T) -> T
angle.Source§impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
Source§fn from_stimulus(other: U) -> T
fn from_stimulus(other: U) -> T
other into Self, while performing the appropriate scaling,
rounding and clamping.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
Source§fn into_angle(self) -> U
fn into_angle(self) -> U
T.Source§impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
Source§type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
parameters when converting.Source§fn into_cam16_unclamped(
self,
parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>,
) -> T
fn into_cam16_unclamped( self, parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>, ) -> T
self into C, using the provided parameters.Source§impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
Source§fn into_color(self) -> U
fn into_color(self) -> U
Source§impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
Source§fn into_color_unclamped(self) -> U
fn into_color_unclamped(self) -> U
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 moreSource§impl<T> IntoStimulus<T> for T
impl<T> IntoStimulus<T> for T
Source§fn into_stimulus(self) -> T
fn into_stimulus(self) -> T
self into T, while performing the appropriate scaling,
rounding and clamping.Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
Source§type Error = <C as TryFromComponents<T>>::Error
type Error = <C as TryFromComponents<T>>::Error
try_into_colors fails to cast.Source§fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
Source§impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
Source§fn try_into_color(self) -> Result<U, OutOfBounds<U>>
fn try_into_color(self) -> Result<U, OutOfBounds<U>>
OutOfBounds error is returned which contains
the unclamped color. Read more