libcosmic/cosmic/cosmic_theme/palette/trait.WithAlpha.html
2026-04-18 20:11:25 +00:00

157 lines
No EOL
67 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A trait for color types that can have or be given transparency (alpha channel)."><title>WithAlpha in cosmic::cosmic_theme::palette - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">With<wbr>Alpha</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#deriving" title="Deriving">Deriving</a></li></ul><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Color" title="Color">Color</a></li><li><a href="#associatedtype.WithAlpha" title="WithAlpha">WithAlpha</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.split" title="split">split</a></li><li><a href="#tymethod.with_alpha" title="with_alpha">with_alpha</a></li><li><a href="#tymethod.without_alpha" title="without_alpha">without_alpha</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.opaque" title="opaque">opaque</a></li><li><a href="#method.transparent" title="transparent">transparent</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cosmic_<wbr>theme::<wbr>palette</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">cosmic_theme</a>::<wbr><a href="index.html">palette</a></div><h1>Trait <span class="trait">WithAlpha</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="https://docs.rs/palette/0.7.6/src/palette/alpha.rs.html#76">Source</a> </span></div><pre class="rust item-decl"><code>pub trait WithAlpha&lt;A&gt;: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
type <a href="#associatedtype.Color" class="associatedtype">Color</a>;
type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a>: <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;A, Color = Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.Color" title="type cosmic::cosmic_theme::palette::WithAlpha::Color">Color</a>, WithAlpha = Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.WithAlpha" title="type cosmic::cosmic_theme::palette::WithAlpha::WithAlpha">WithAlpha</a>&gt;;
// Required methods
fn <a href="#tymethod.with_alpha" class="fn">with_alpha</a>(self, alpha: A) -&gt; Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.WithAlpha" title="type cosmic::cosmic_theme::palette::WithAlpha::WithAlpha">WithAlpha</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.without_alpha" class="fn">without_alpha</a>(self) -&gt; Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.Color" title="type cosmic::cosmic_theme::palette::WithAlpha::Color">Color</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.split" class="fn">split</a>(self) -&gt; (Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.Color" title="type cosmic::cosmic_theme::palette::WithAlpha::Color">Color</a>, A);
// Provided methods
fn <a href="#method.opaque" class="fn">opaque</a>(self) -&gt; Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.WithAlpha" title="type cosmic::cosmic_theme::palette::WithAlpha::WithAlpha">WithAlpha</a>
<span class="where">where A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.transparent" class="fn">transparent</a>(self) -&gt; Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.WithAlpha" title="type cosmic::cosmic_theme::palette::WithAlpha::WithAlpha">WithAlpha</a>
<span class="where">where A: <a class="trait" href="num/trait.Zero.html" title="trait cosmic::cosmic_theme::palette::num::Zero">Zero</a></span> { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A trait for color types that can have or be given transparency (alpha channel).</p>
<p><code>WithAlpha</code> is an interface for adding, removing and setting the alpha
channel of a color type. The color type itself doesnt need to store the
transparency value as it can be transformed into or wrapped in a type that
has a representation of transparency. This would typically be done by
wrapping it in an <a href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha"><code>Alpha</code></a> instance.</p>
<h2 id="deriving"><a class="doc-anchor" href="#deriving">§</a>Deriving</h2>
<p>The trait is trivial enough to be automatically derived. If the color type
has a field for transparency (an alpha channel), it has to be marked with
<code>#[palette(alpha)]</code> to be taken into account.</p>
<p>Derived without an internal alpha channel:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>palette::WithAlpha;
<span class="attr">#[derive(WithAlpha)]
</span><span class="kw">struct </span>CustomColor {
redness: f32,
glow: f32,
glitter: f32,
}
<span class="kw">let </span>color = CustomColor {
redness: <span class="number">0.8</span>,
glow: <span class="number">2.5</span>,
glitter: <span class="number">1000.0
</span>};
<span class="kw">let </span>transparent = color.with_alpha(<span class="number">0.3</span>);
<span class="macro">assert_eq!</span>(transparent.alpha, <span class="number">0.3</span>);</code></pre></div>
<p>Derived with an internal alpha channel:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>palette::WithAlpha;
<span class="attr">#[derive(WithAlpha)]
</span><span class="kw">struct </span>CustomColor {
redness: f32,
glow: f32,
glitter: f32,
<span class="attr">#[palette(alpha)]
</span>alpha: u8,
}
<span class="kw">let </span>color = CustomColor {
redness: <span class="number">0.8</span>,
glow: <span class="number">2.5</span>,
glitter: <span class="number">1000.0</span>,
alpha: <span class="number">255
</span>};
<span class="kw">let </span>transparent = color.with_alpha(<span class="number">10</span>);
<span class="macro">assert_eq!</span>(transparent.alpha, <span class="number">10</span>);</code></pre></div>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Color" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha.rs.html#80">Source</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a></h4></section></summary><div class="docblock"><p>The opaque color type, without any transparency.</p>
<p>This is typically <code>Self</code>.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.WithAlpha" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha.rs.html#85">Source</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a>: <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;A, Color = Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.Color" title="type cosmic::cosmic_theme::palette::WithAlpha::Color">Color</a>, WithAlpha = Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.WithAlpha" title="type cosmic::cosmic_theme::palette::WithAlpha::WithAlpha">WithAlpha</a>&gt;</h4></section></summary><div class="docblock"><p>The color type with transparency applied.</p>
<p>This is typically <code>Alpha&lt;Self::Color, A&gt;</code>.</p>
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.with_alpha" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha.rs.html#105">Source</a><h4 class="code-header">fn <a href="#tymethod.with_alpha" class="fn">with_alpha</a>(self, alpha: A) -&gt; Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.WithAlpha" title="type cosmic::cosmic_theme::palette::WithAlpha::WithAlpha">WithAlpha</a></h4></section></summary><div class="docblock"><p>Transforms the color into a transparent color with the provided
alpha value. If <code>Self</code> already has a transparency, it is
overwritten.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>palette::{Srgb, WithAlpha};
<span class="kw">let </span>color = Srgb::new(<span class="number">255u8</span>, <span class="number">0</span>, <span class="number">255</span>);
<span class="comment">// This results in an `Alpha&lt;Srgb&lt;u8&gt;, f32&gt;`
</span><span class="kw">let </span>transparent = color.with_alpha(<span class="number">0.3f32</span>);
<span class="macro">assert_eq!</span>(transparent.alpha, <span class="number">0.3</span>);
<span class="comment">// This changes the transparency to 0.8
</span><span class="kw">let </span>transparent = transparent.with_alpha(<span class="number">0.8f32</span>);
<span class="macro">assert_eq!</span>(transparent.alpha, <span class="number">0.8</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.without_alpha" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha.rs.html#121">Source</a><h4 class="code-header">fn <a href="#tymethod.without_alpha" class="fn">without_alpha</a>(self) -&gt; Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.Color" title="type cosmic::cosmic_theme::palette::WithAlpha::Color">Color</a></h4></section></summary><div class="docblock"><p>Removes the transparency from the color. If <code>Self::Color</code> has
an internal transparency field, that field will be set to
<code>A::max_intensity()</code> to make it opaque.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>palette::{Srgba, Srgb, WithAlpha};
<span class="kw">let </span>transparent = Srgba::new(<span class="number">255u8</span>, <span class="number">0</span>, <span class="number">255</span>, <span class="number">10</span>);
<span class="comment">// This unwraps the color information from the `Alpha` wrapper
</span><span class="kw">let </span>color = transparent.without_alpha();
<span class="macro">assert_eq!</span>(transparent.color, color);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.split" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha.rs.html#141">Source</a><h4 class="code-header">fn <a href="#tymethod.split" class="fn">split</a>(self) -&gt; (Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.Color" title="type cosmic::cosmic_theme::palette::WithAlpha::Color">Color</a>, A)</h4></section></summary><div class="docblock"><p>Splits the color into separate color and transparency values.</p>
<p>A color without any transparency field will return
<code>A::max_intensity()</code> instead. If <code>Self::Color</code> has an internal
transparency field, that field will be set to
<code>A::max_intensity()</code> to make it opaque.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>palette::{Srgba, Srgb, WithAlpha};
<span class="kw">let </span>transparent = Srgba::new(<span class="number">255u8</span>, <span class="number">0</span>, <span class="number">255</span>, <span class="number">10</span>);
<span class="comment">// This unwraps both the color and alpha from the `Alpha` wrapper
</span><span class="kw">let </span>(color, alpha) = transparent.split();
<span class="macro">assert_eq!</span>(transparent.color, color);
<span class="macro">assert_eq!</span>(transparent.alpha, alpha);</code></pre></div>
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.opaque" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha.rs.html#156-158">Source</a><h4 class="code-header">fn <a href="#method.opaque" class="fn">opaque</a>(self) -&gt; Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.WithAlpha" title="type cosmic::cosmic_theme::palette::WithAlpha::WithAlpha">WithAlpha</a><div class="where">where
A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h4></section></summary><div class="docblock"><p>Transforms the color into a fully opaque color with a transparency
field. If <code>Self</code> already has a transparency, it is overwritten.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>palette::{Srgb, Srgba, WithAlpha};
<span class="kw">let </span>color = Srgb::new(<span class="number">255u8</span>, <span class="number">0</span>, <span class="number">255</span>);
<span class="kw">let </span>opaque: Srgba&lt;u8&gt; = color.opaque();
<span class="macro">assert_eq!</span>(opaque.alpha, <span class="number">255</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.transparent" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha.rs.html#176-178">Source</a><h4 class="code-header">fn <a href="#method.transparent" class="fn">transparent</a>(self) -&gt; Self::<a class="associatedtype" href="trait.WithAlpha.html#associatedtype.WithAlpha" title="type cosmic::cosmic_theme::palette::WithAlpha::WithAlpha">WithAlpha</a><div class="where">where
A: <a class="trait" href="num/trait.Zero.html" title="trait cosmic::cosmic_theme::palette::num::Zero">Zero</a>,</div></h4></section></summary><div class="docblock"><p>Transforms the color into a fully transparent color. If <code>Self</code>
already has a transparency, it is overwritten.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>palette::{Srgb, Srgba, WithAlpha};
<span class="kw">let </span>color = Srgb::new(<span class="number">255u8</span>, <span class="number">0</span>, <span class="number">255</span>);
<span class="kw">let </span>transparent: Srgba&lt;u8&gt; = color.transparent();
<span class="macro">assert_eq!</span>(transparent.alpha, <span class="number">0</span>);</code></pre></div>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3CA%3E-for-Alpha%3CC,+A%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha/alpha.rs.html#208">Source</a><a href="#impl-WithAlpha%3CA%3E-for-Alpha%3CC,+A%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;A&gt; for <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;C, A&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Color-1" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha/alpha.rs.html#209">Source</a><a href="#associatedtype.Color-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = C</h4></section><section id="associatedtype.WithAlpha-1" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha/alpha.rs.html#210">Source</a><a href="#associatedtype.WithAlpha-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;C, A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Luma%3CS,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luma/luma.rs.html#33">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Luma%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-2" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luma/luma.rs.html#33">Source</a><a href="#associatedtype.Color-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, T&gt;</h4></section><section id="associatedtype.WithAlpha-2" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luma/luma.rs.html#33">Source</a><a href="#associatedtype.WithAlpha-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Rgb%3CS,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/rgb/rgb.rs.html#171">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Rgb%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-3" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/rgb/rgb.rs.html#171">Source</a><a href="#associatedtype.Color-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, T&gt;</h4></section><section id="associatedtype.WithAlpha-3" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/rgb/rgb.rs.html#171">Source</a><a href="#associatedtype.WithAlpha-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Hsl%3CS,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsl.rs.html#46">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Hsl%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Hsl.html" title="struct cosmic::cosmic_theme::palette::Hsl">Hsl</a>&lt;S, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-4" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsl.rs.html#46">Source</a><a href="#associatedtype.Color-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Hsl.html" title="struct cosmic::cosmic_theme::palette::Hsl">Hsl</a>&lt;S, T&gt;</h4></section><section id="associatedtype.WithAlpha-4" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsl.rs.html#46">Source</a><a href="#associatedtype.WithAlpha-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Hsl.html" title="struct cosmic::cosmic_theme::palette::Hsl">Hsl</a>&lt;S, T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Hsv%3CS,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsv.rs.html#43">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Hsv%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Hsv.html" title="struct cosmic::cosmic_theme::palette::Hsv">Hsv</a>&lt;S, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-5" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsv.rs.html#43">Source</a><a href="#associatedtype.Color-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Hsv.html" title="struct cosmic::cosmic_theme::palette::Hsv">Hsv</a>&lt;S, T&gt;</h4></section><section id="associatedtype.WithAlpha-5" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsv.rs.html#43">Source</a><a href="#associatedtype.WithAlpha-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Hsv.html" title="struct cosmic::cosmic_theme::palette::Hsv">Hsv</a>&lt;S, T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Hwb%3CS,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hwb.rs.html#47">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Hwb%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Hwb.html" title="struct cosmic::cosmic_theme::palette::Hwb">Hwb</a>&lt;S, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-6" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hwb.rs.html#47">Source</a><a href="#associatedtype.Color-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Hwb.html" title="struct cosmic::cosmic_theme::palette::Hwb">Hwb</a>&lt;S, T&gt;</h4></section><section id="associatedtype.WithAlpha-6" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hwb.rs.html#47">Source</a><a href="#associatedtype.WithAlpha-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Hwb.html" title="struct cosmic::cosmic_theme::palette::Hwb">Hwb</a>&lt;S, T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Cam16%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/full.rs.html#85">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Cam16%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="cam16/struct.Cam16.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16">Cam16</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-7" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/full.rs.html#85">Source</a><a href="#associatedtype.Color-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="cam16/struct.Cam16.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16">Cam16</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-7" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/full.rs.html#85">Source</a><a href="#associatedtype.WithAlpha-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="cam16/struct.Cam16.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16">Cam16</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Cam16Jch%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#554-567">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Cam16Jch%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="cam16/struct.Cam16Jch.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jch">Cam16Jch</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-8" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#554-567">Source</a><a href="#associatedtype.Color-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="cam16/struct.Cam16Jch.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jch">Cam16Jch</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-8" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#554-567">Source</a><a href="#associatedtype.WithAlpha-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="cam16/struct.Cam16Jch.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jch">Cam16Jch</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Cam16Jmh%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#573-598">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Cam16Jmh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="cam16/struct.Cam16Jmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jmh">Cam16Jmh</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-9" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#573-598">Source</a><a href="#associatedtype.Color-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="cam16/struct.Cam16Jmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jmh">Cam16Jmh</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-9" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#573-598">Source</a><a href="#associatedtype.WithAlpha-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="cam16/struct.Cam16Jmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jmh">Cam16Jmh</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Cam16Jsh%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#604-618">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Cam16Jsh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="cam16/struct.Cam16Jsh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jsh">Cam16Jsh</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-10" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#604-618">Source</a><a href="#associatedtype.Color-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="cam16/struct.Cam16Jsh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jsh">Cam16Jsh</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-10" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#604-618">Source</a><a href="#associatedtype.WithAlpha-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="cam16/struct.Cam16Jsh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jsh">Cam16Jsh</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Cam16Qch%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#624-637">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Cam16Qch%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="cam16/struct.Cam16Qch.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qch">Cam16Qch</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-11" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#624-637">Source</a><a href="#associatedtype.Color-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="cam16/struct.Cam16Qch.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qch">Cam16Qch</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-11" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#624-637">Source</a><a href="#associatedtype.WithAlpha-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="cam16/struct.Cam16Qch.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qch">Cam16Qch</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Cam16Qmh%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#643-657">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Cam16Qmh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="cam16/struct.Cam16Qmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qmh">Cam16Qmh</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-12" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#643-657">Source</a><a href="#associatedtype.Color-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="cam16/struct.Cam16Qmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qmh">Cam16Qmh</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-12" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#643-657">Source</a><a href="#associatedtype.WithAlpha-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="cam16/struct.Cam16Qmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qmh">Cam16Qmh</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Cam16Qsh%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#663-677">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Cam16Qsh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="cam16/struct.Cam16Qsh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qsh">Cam16Qsh</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-13" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#663-677">Source</a><a href="#associatedtype.Color-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="cam16/struct.Cam16Qsh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qsh">Cam16Qsh</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-13" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#663-677">Source</a><a href="#associatedtype.WithAlpha-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="cam16/struct.Cam16Qsh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qsh">Cam16Qsh</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Cam16UcsJab%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/ucs_jab.rs.html#50">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Cam16UcsJab%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-14" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/ucs_jab.rs.html#50">Source</a><a href="#associatedtype.Color-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-14" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/ucs_jab.rs.html#50">Source</a><a href="#associatedtype.WithAlpha-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Cam16UcsJmh%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/ucs_jmh.rs.html#49">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Cam16UcsJmh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="cam16/struct.Cam16UcsJmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJmh">Cam16UcsJmh</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-15" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/ucs_jmh.rs.html#49">Source</a><a href="#associatedtype.Color-15" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="cam16/struct.Cam16UcsJmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJmh">Cam16UcsJmh</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-15" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/ucs_jmh.rs.html#49">Source</a><a href="#associatedtype.WithAlpha-15" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="cam16/struct.Cam16UcsJmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJmh">Cam16UcsJmh</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Okhsl%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhsl.rs.html#35">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Okhsl%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Okhsl.html" title="struct cosmic::cosmic_theme::palette::Okhsl">Okhsl</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-16" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhsl.rs.html#35">Source</a><a href="#associatedtype.Color-16" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Okhsl.html" title="struct cosmic::cosmic_theme::palette::Okhsl">Okhsl</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-16" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhsl.rs.html#35">Source</a><a href="#associatedtype.WithAlpha-16" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Okhsl.html" title="struct cosmic::cosmic_theme::palette::Okhsl">Okhsl</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Okhsv%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhsv.rs.html#38">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Okhsv%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Okhsv.html" title="struct cosmic::cosmic_theme::palette::Okhsv">Okhsv</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-17" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhsv.rs.html#38">Source</a><a href="#associatedtype.Color-17" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Okhsv.html" title="struct cosmic::cosmic_theme::palette::Okhsv">Okhsv</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-17" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhsv.rs.html#38">Source</a><a href="#associatedtype.WithAlpha-17" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Okhsv.html" title="struct cosmic::cosmic_theme::palette::Okhsv">Okhsv</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Okhwb%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhwb.rs.html#31">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Okhwb%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Okhwb.html" title="struct cosmic::cosmic_theme::palette::Okhwb">Okhwb</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-18" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhwb.rs.html#31">Source</a><a href="#associatedtype.Color-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Okhwb.html" title="struct cosmic::cosmic_theme::palette::Okhwb">Okhwb</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-18" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhwb.rs.html#31">Source</a><a href="#associatedtype.WithAlpha-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Okhwb.html" title="struct cosmic::cosmic_theme::palette::Okhwb">Okhwb</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Oklab%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklab.rs.html#175">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Oklab%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-19" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklab.rs.html#175">Source</a><a href="#associatedtype.Color-19" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-19" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklab.rs.html#175">Source</a><a href="#associatedtype.WithAlpha-19" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Oklch%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklch.rs.html#33">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Oklch%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Oklch.html" title="struct cosmic::cosmic_theme::palette::Oklch">Oklch</a>&lt;T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-20" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklch.rs.html#33">Source</a><a href="#associatedtype.Color-20" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Oklch.html" title="struct cosmic::cosmic_theme::palette::Oklch">Oklch</a>&lt;T&gt;</h4></section><section id="associatedtype.WithAlpha-20" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklch.rs.html#33">Source</a><a href="#associatedtype.WithAlpha-20" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Oklch.html" title="struct cosmic::cosmic_theme::palette::Oklch">Oklch</a>&lt;T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Hsluv%3CWp,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsluv.rs.html#29">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Hsluv%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Hsluv.html" title="struct cosmic::cosmic_theme::palette::Hsluv">Hsluv</a>&lt;Wp, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-21" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsluv.rs.html#29">Source</a><a href="#associatedtype.Color-21" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Hsluv.html" title="struct cosmic::cosmic_theme::palette::Hsluv">Hsluv</a>&lt;Wp, T&gt;</h4></section><section id="associatedtype.WithAlpha-21" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsluv.rs.html#29">Source</a><a href="#associatedtype.WithAlpha-21" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Hsluv.html" title="struct cosmic::cosmic_theme::palette::Hsluv">Hsluv</a>&lt;Wp, T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Lab%3CWp,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lab.rs.html#45">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Lab%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-22" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lab.rs.html#45">Source</a><a href="#associatedtype.Color-22" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, T&gt;</h4></section><section id="associatedtype.WithAlpha-22" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lab.rs.html#45">Source</a><a href="#associatedtype.WithAlpha-22" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Lch%3CWp,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lch.rs.html#29">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Lch%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Lch.html" title="struct cosmic::cosmic_theme::palette::Lch">Lch</a>&lt;Wp, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-23" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lch.rs.html#29">Source</a><a href="#associatedtype.Color-23" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Lch.html" title="struct cosmic::cosmic_theme::palette::Lch">Lch</a>&lt;Wp, T&gt;</h4></section><section id="associatedtype.WithAlpha-23" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lch.rs.html#29">Source</a><a href="#associatedtype.WithAlpha-23" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Lch.html" title="struct cosmic::cosmic_theme::palette::Lch">Lch</a>&lt;Wp, T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Lchuv%3CWp,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lchuv.rs.html#26">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Lchuv%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Lchuv.html" title="struct cosmic::cosmic_theme::palette::Lchuv">Lchuv</a>&lt;Wp, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-24" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lchuv.rs.html#26">Source</a><a href="#associatedtype.Color-24" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Lchuv.html" title="struct cosmic::cosmic_theme::palette::Lchuv">Lchuv</a>&lt;Wp, T&gt;</h4></section><section id="associatedtype.WithAlpha-24" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lchuv.rs.html#26">Source</a><a href="#associatedtype.WithAlpha-24" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Lchuv.html" title="struct cosmic::cosmic_theme::palette::Lchuv">Lchuv</a>&lt;Wp, T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Luv%3CWp,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luv.rs.html#31">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Luv%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-25" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luv.rs.html#31">Source</a><a href="#associatedtype.Color-25" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, T&gt;</h4></section><section id="associatedtype.WithAlpha-25" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luv.rs.html#31">Source</a><a href="#associatedtype.WithAlpha-25" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Xyz%3CWp,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/xyz.rs.html#40">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Xyz%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-26" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/xyz.rs.html#40">Source</a><a href="#associatedtype.Color-26" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, T&gt;</h4></section><section id="associatedtype.WithAlpha-26" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/xyz.rs.html#40">Source</a><a href="#associatedtype.WithAlpha-26" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, T&gt;, _A&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithAlpha%3C_A%3E-for-Yxy%3CWp,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/yxy.rs.html#26">Source</a><a href="#impl-WithAlpha%3C_A%3E-for-Yxy%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, _A&gt; <a class="trait" href="trait.WithAlpha.html" title="trait cosmic::cosmic_theme::palette::WithAlpha">WithAlpha</a>&lt;_A&gt; for <a class="struct" href="struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, T&gt;<div class="where">where
_A: <a class="trait" href="stimulus/trait.Stimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::Stimulus">Stimulus</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Color-27" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/yxy.rs.html#26">Source</a><a href="#associatedtype.Color-27" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Color" class="associatedtype">Color</a> = <a class="struct" href="struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, T&gt;</h4></section><section id="associatedtype.WithAlpha-27" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/yxy.rs.html#26">Source</a><a href="#associatedtype.WithAlpha-27" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.WithAlpha" class="associatedtype">WithAlpha</a> = <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;<a class="struct" href="struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, T&gt;, _A&gt;</h4></section></div></details></div><script src="../../../trait.impl/palette/alpha/trait.WithAlpha.js" data-ignore-extern-crates="palette" async></script></section></div></main></body></html>