libcosmic/cosmic/cosmic_theme/palette/alpha/struct.PreAlpha.html

343 lines
358 KiB
HTML
Raw Normal View History

<!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="Premultiplied alpha wrapper."><title>PreAlpha in cosmic::cosmic_theme::palette::alpha - 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 struct"><!--[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="#">PreAlpha</a></h2><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.alpha" title="alpha">alpha</a></li><li><a href="#structfield.color" title="color">color</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new" title="new">new</a></li><li><a href="#method.new_opaque" title="new_opaque">new_opaque</a></li><li><a href="#method.unpremultiply" title="unpremultiply">unpremultiply</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-AbsDiffEq-for-PreAlpha%3CC%3E" title="AbsDiffEq">AbsDiffEq</a></li><li><a href="#impl-Add-for-PreAlpha%3CC%3E" title="Add">Add</a></li><li><a href="#impl-Add%3Cf32%3E-for-PreAlpha%3CC%3E" title="Add&#60;f32&#62;">Add&#60;f32&#62;</a></li><li><a href="#impl-Add%3Cf64%3E-for-PreAlpha%3CC%3E" title="Add&#60;f64&#62;">Add&#60;f64&#62;</a></li><li><a href="#impl-AddAssign-for-PreAlpha%3CC%3E" title="AddAssign">AddAssign</a></li><li><a href="#impl-AddAssign%3Cf32%3E-for-PreAlpha%3CC%3E" title="AddAssign&#60;f32&#62;">AddAssign&#60;f32&#62;</a></li><li><a href="#impl-AddAssign%3Cf64%3E-for-PreAlpha%3CC%3E" title="AddAssign&#60;f64&#62;">AddAssign&#60;f64&#62;</a></li><li><a href="#impl-ArrayCast-for-PreAlpha%3CC%3E" title="ArrayCast">ArrayCast</a></li><li><a href="#impl-AsMut%3C%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E-for-PreAlpha%3CC%3E" title="AsMut&#60;[&#60;C as Premultiply&#62;::Scalar; N]&#62;">AsMut&#60;[&#60;C as Premultiply&#62;::Scalar; N]&#62;</a></li><li><a href="#impl-AsMut%3C%5B%3CC+as+Premultiply%3E::Scalar%5D%3E-for-PreAlpha%3CC%3E" title="AsMut&#60;[&#60;C as Premultiply&#62;::Scalar]&#62;">AsMut&#60;[&#60;C as Premultiply&#62;::Scalar]&#62;</a></li><li><a href="#impl-AsRef%3C%5B%3CC+as+Premultipl
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,</div>{
pub color: C,
pub alpha: &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>,
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Premultiplied alpha wrapper.</p>
<p>Premultiplied, or alpha masked, or associated alpha colors have had their
component values multiplied with their alpha value. They are commonly used
in composition algorithms and as output from computer generated graphics. It
may also be preferred when interpolating between colors and in other image
manipulation operations, such as blurring or resizing images.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>palette::{LinSrgb, LinSrgba};
<span class="kw">use </span>palette::blend::{Blend, PreAlpha};
<span class="kw">let </span>a = PreAlpha::from(LinSrgba::new(<span class="number">0.4</span>, <span class="number">0.5</span>, <span class="number">0.5</span>, <span class="number">0.3</span>));
<span class="kw">let </span>b = PreAlpha::from(LinSrgba::new(<span class="number">0.3</span>, <span class="number">0.8</span>, <span class="number">0.4</span>, <span class="number">0.4</span>));
<span class="kw">let </span>c = PreAlpha::from(LinSrgba::new(<span class="number">0.7</span>, <span class="number">0.1</span>, <span class="number">0.8</span>, <span class="number">0.8</span>));
<span class="kw">let </span>res: LinSrgba = a.screen(b).overlay(c).into();</code></pre></div>
<p>Note that converting to and from premultiplied alpha will cause the alpha
component to be clamped to [0.0, 1.0], and fully transparent colors will
become black.</p>
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.color" class="structfield section-header"><a href="#structfield.color" class="anchor field">§</a><code>color: C</code></span><div class="docblock"><p>The premultiplied color components (<code>original.color * original.alpha</code>).</p>
</div><span id="structfield.alpha" class="structfield section-header"><a href="#structfield.alpha" class="anchor field">§</a><code>alpha: &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a></code></span><div class="docblock"><p>The transparency component. 0.0 is fully transparent and 1.0 is fully
opaque.</p>
</div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#49-51">Source</a><a href="#impl-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#54">Source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(color: C, alpha: &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class="docblock"><p>Alpha mask <code>color</code> with <code>alpha</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.new_opaque" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#59-61">Source</a><h4 class="code-header">pub fn <a href="#method.new_opaque" class="fn">new_opaque</a>(color: C) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</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>Create an opaque alpha masked color.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.unpremultiply" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#70">Source</a><h4 class="code-header">pub fn <a href="#method.unpremultiply" class="fn">unpremultiply</a>(self) -&gt; <a class="struct" href="../struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;C, &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>&gt;</h4></section></summary><div class="docblock"><p>Alpha unmask the color.</p>
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-AbsDiffEq-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#180-184">Source</a><a href="#impl-AbsDiffEq-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T&gt; AbsDiffEq for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: AbsDiffEq&lt;Epsilon = &lt;T as AbsDiffEq&gt;::Epsilon&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
T: AbsDiffEq,
&lt;T as AbsDiffEq&gt;::Epsilon: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Epsilon" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#186">Source</a><a href="#associatedtype.Epsilon" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Epsilon</a> = &lt;T as AbsDiffEq&gt;::Epsilon</h4></section></summary><div class='docblock'>Used for specifying relative comparisons.</div></details><details class="toggle method-toggle" open><summary><section id="method.default_epsilon" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#188">Source</a><a href="#method.default_epsilon" class="anchor">§</a><h4 class="code-header">fn <a class="fn">default_epsilon</a>() -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as AbsDiffEq&gt;::Epsilon</h4></section></summary><div class='docblock'>The default tolerance to use when testing values that are close together. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.abs_diff_eq" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#192">Source</a><a href="#method.abs_diff_eq" class="anchor">§</a><h4 class="code-header">fn <a class="fn">abs_diff_eq</a>(
&amp;self,
other: &amp;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;,
epsilon: &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as AbsDiffEq&gt;::Epsilon,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>A test for equality that uses the absolute difference to compute the approximate
equality of two numbers.</div></details><details class="toggle method-toggle" open><summary><section id="method.abs_diff_ne" class="method trait-impl"><a href="#method.abs_diff_ne" class="anchor">§</a><h4 class="code-header">fn <a class="fn">abs_diff_ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>, epsilon: Self::Epsilon) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>The inverse of [<code>AbsDiffEq::abs_diff_eq</code>].</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3Cf32%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#327">Source</a><a href="#impl-Add%3Cf32%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, Output = C&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-1" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#327">Source</a><a href="#associatedtype.Output-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#327">Source</a><a href="#method.add-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3Cf64%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#327">Source</a><a href="#impl-Add%3Cf64%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, Output = C&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-2" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#327">Source</a><a href="#associatedtype.Output-2" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-2" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#327">Source</a><a href="#method.add-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#271">Source</a><a href="#impl-Add-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;Output = C&gt;,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;Output = &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#271">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#271">Source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3Cf32%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#327">Source</a><a href="#impl-AddAssign%3Cf32%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#327">Source</a><a href="#method.add_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&amp;mut self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3Cf64%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#327">Source</a><a href="#impl-AddAssign%3Cf64%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign-2" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#327">Source</a><a href="#method.add_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&amp;mut self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#271">Source</a><a href="#impl-AddAssign-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a> + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a> + <a class="trait" href="../num/trait.Real.html" title="trait cosmic::cosmic_theme::palette::num::Real">Real</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#271">Source</a><a href="#method.add_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&amp;mut self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ArrayCast-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#158-161">Source</a><a href="#impl-ArrayCast-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T&gt; <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a> + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
&lt;C as <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&gt;::<a class="associatedtype" href="../cast/trait.ArrayCast.html#associatedtype.Array" title="type cosmic::cosmic_theme::palette::cast::ArrayCast::Array">Array</a>: <a class="trait" href="../trait.NextArray.html" title="trait cosmic::cosmic_theme::palette::NextArray">NextArray</a> + <a class="trait" href="../trait.ArrayExt.html" title="trait cosmic::cosmic_theme::palette::ArrayExt">ArrayExt</a>&lt;Item = T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Array" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#163">Source</a><a href="#associatedtype.Array" class="anchor">§</a><h4 class="code-header">type <a href="../cast/trait.ArrayCast.html#associatedtype.Array" class="associatedtype">Array</a> = &lt;&lt;C as <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&gt;::<a class="associatedtype" href="../cast/trait.ArrayCast.html#associatedtype.Array" title="type cosmic::cosmic_theme::palette::cast::ArrayCast::Array">Array</a> as <a class="trait" href="../trait.NextArray.html" title="trait cosmic::cosmic_theme::palette::NextArray">NextArray</a>&gt;::<a class="associatedtype" href="../trait.NextArray.html#associatedtype.Next" title="type cosmic::cosmic_theme::palette::NextArray::Next">Next</a></h4></section></summary><div class='docblock'>The output type of a cast to an array.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3C%5B%3CC+as+Premultiply%3E::Scalar%5D%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-AsMut%3C%5B%3CC+as+Premultiply%3E::Scalar%5D%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;[&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.as_mut-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3C%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-AsMut%3C%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;[&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.as_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5B%3CC+as+Premultiply%3E::Scalar%5D%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-AsRef%3C%5B%3CC+as+Premultiply%3E::Scalar%5D%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.as_ref-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-AsRef%3C%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.as_ref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Blend-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#76-80">Source</a><a href="#impl-Blend-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="../blend/trait.Blend.html" title="trait cosmic::cosmic_theme::palette::blend::Blend">Blend</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt; + <a class="trait" href="../stimulus/trait.StimulusColor.html" title="trait cosmic::cosmic_theme::palette::stimulus::StimulusColor">StimulusColor</a> + <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[T; N]</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
T: <a class="trait" href="../num/trait.Real.html" title="trait cosmic::cosmic_theme::palette::num::Real">Real</a> + <a class="trait" href="../num/trait.Zero.html" title="trait cosmic::cosmic_theme::palette::num::Zero">Zero</a> + <a class="trait" href="../num/trait.One.html" title="trait cosmic::cosmic_theme::palette::num::One">One</a> + <a class="trait" href="../num/trait.MinMax.html" title="trait cosmic::cosmic_theme::palette::num::MinMax">MinMax</a> + <a class="trait" href="../num/trait.Clamp.html" title="trait cosmic::cosmic_theme::palette::num::Clamp">Clamp</a> + <a class="trait" href="../num/trait.Sqrt.html" title="trait cosmic::cosmic_theme::palette::num::Sqrt">Sqrt</a> + <a class="trait" href="../num/trait.Abs.html" title="trait cosmic::cosmic_theme::palette::num::Abs">Abs</a> + <a class="trait" href="../num/trait.Arithmetics.html" title="trait cosmic::cosmic_theme::palette::num::Arithmetics">Arithmetics</a> + <a class="trait" href="../num/trait.PartialCmp.html" title="trait cosmic::cosmic_theme::palette::num::PartialCmp">PartialCmp</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
&lt;T as <a class="trait" href="../bool_mask/trait.HasBoolMask.html" title="trait cosmic::cosmic_theme::palette::bool_mask::HasBoolMask">HasBoolMask</a>&gt;::<a class="associatedtype" href="../bool_mask/trait.HasBoolMask.html#associatedtype.Mask" title="type cosmic::cosmic_theme::palette::bool_mask::HasBoolMask::Mask">Mask</a>: <a class="trait" href="../bool_mask/trait.LazySelect.html" title="trait cosmic::cosmic_theme::palette::bool_mask::LazySelect">LazySelect</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.multiply" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#83">Source</a><a href="#method.multiply" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Blend.html#tymethod.multiply" class="fn">multiply</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Multiply <code>self</code> with <code>other</code>. This uses the alpha component to regulate
the effect, so its not just plain component wise multiplication.</div></details><details class="toggle method-toggle" open><summary><section id="method.screen" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#88">Source</a><a href="#method.screen" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Blend.html#tymethod.screen" class="fn">screen</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Make a color which is at least as light as <code>self</code> or <code>other</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#93">Source</a><a href="#method.overlay" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Blend.html#tymethod.overlay" class="fn">overlay</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Multiply <code>self</code> or <code>other</code> if other is dark, or screen them if <code>other</code>
is light. This results in an S curve.</div></details><details class="toggle method-toggle" open><summary><section id="method.darken" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#98">Source</a><a href="#method.darken" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Blend.html#tymethod.darken" class="fn">darken</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Return the darkest parts of <code>self</code> and <code>other</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.lighten" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#103">Source</a><a href="#method.lighten" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Blend.html#tymethod.lighten" class="fn">lighten</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Return the lightest parts of <code>self</code> and <code>other</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.dodge" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#108">Source</a><a href="#method.dodge" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Blend.html#tymethod.dodge" class="fn">dodge</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Lighten <code>other</code> to reflect <code>self</code>. Results in <code>other</code> if <code>self</code> is
black.</div></details><details class="toggle method-toggle" open><summary><section id="method.burn" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#113">Source</a><a href="#method.burn" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Blend.html#tymethod.burn" class="fn">burn</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Darken <code>other</code> to reflect <code>self</code>. Results in <code>other</code> if <code>self</code> is
white.</div></details><details class="toggle method-toggle" open><summary><section id="method.hard_light" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#118">Source</a><a href="#method.hard_light" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Blend.html#tymethod.hard_light" class="fn">hard_light</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Multiply <code>self</code> or <code>other</code> if other is dark, or screen them if <code>self</code>
is light. This is similar to <code>overlay</code>, but depends on <code>self</code> instead
of <code>other</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.soft_light" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#123">Source</a><a href="#method.soft_light" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Blend.html#tymethod.soft_light" class="fn">soft_light</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Lighten <code>other</code> if <code>self</code> is light, or darken <code>other</code> as if its burned
if <code>self</code> is dark. The effect is increased if the components of <code>self</code>
is further from 0.5.</div></details><details class="toggle method-toggle" open><summary><section id="method.difference" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#128">Source</a><a href="#method.difference" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Blend.html#tymethod.difference" class="fn">difference</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Return the absolute difference between <code>self</code> and <code>other</code>. Its
basically <code>abs(self - other)</code>, but regulated by the alpha component.</div></details><details class="toggle method-toggle" open><summary><section id="method.exclusion" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend.rs.html#133">Source</a><a href="#method.exclusion" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Blend.html#tymethod.exclusion" class="fn">exclusion</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Similar to <code>difference</code>, but appears to result in a lower contrast.
<code>other</code> is inverted if <code>self</code> is white, and preserved if <code>self</code> is
black.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BlendWith-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend_with.rs.html#42-44">Source</a><a href="#impl-BlendWith-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="../blend/trait.BlendWith.html" title="trait cosmic::cosmic_theme::palette::blend::BlendWith">BlendWith</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Color" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend_with.rs.html#46">Source</a><a href="#associatedtype.Color" class="anchor">§</a><h4 class="code-header">type <a href="../blend/trait.BlendWith.html#associatedtype.Color" class="associatedtype">Color</a> = C</h4></section></summary><div class='docblock'>The base color type of <code>Self</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.blend_with" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/blend_with.rs.html#49-51">Source</a><a href="#method.blend_with" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.BlendWith.html#tymethod.blend_with" class="fn">blend_with</a>&lt;F&gt;(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;, blend_function: F) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
F: <a class="trait" href="../blend/trait.BlendFunction.html" title="trait cosmic::cosmic_theme::palette::blend::BlendFunction">BlendFunction</a>&lt;&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="../blend/trait.BlendWith.html" title="trait cosmic::cosmic_theme::palette::blend::BlendWith">BlendWith</a>&gt;::<a class="associatedtype" href="../blend/trait.BlendWith.html#associatedtype.Color" title="type cosmic::cosmic_theme::palette::blend::BlendWith::Color">Color</a>&gt;,</div></h4></section></summary><div class='docblock'>Blend self, as the source color, with <code>destination</code>, using
<code>blend_function</code>. Anything that implements <a href="../blend/trait.BlendFunction.html" title="trait cosmic::cosmic_theme::palette::blend::BlendFunction"><code>BlendFunction</code></a> is
acceptable, including functions and closures. <a href="../blend/trait.BlendWith.html#tymethod.blend_with">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#38">Source</a><a href="#impl-Clone-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#38">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#213-215">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: &amp;Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Compose-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/compose.rs.html#47-50">Source</a><a href="#impl-Compose-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="../blend/trait.Compose.html" title="trait cosmic::cosmic_theme::palette::blend::Compose">Compose</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[T; N]</a>&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
T: <a class="trait" href="../num/trait.Real.html" title="trait cosmic::cosmic_theme::palette::num::Real">Real</a> + <a class="trait" href="../num/trait.Zero.html" title="trait cosmic::cosmic_theme::palette::num::Zero">Zero</a> + <a class="trait" href="../num/trait.One.html" title="trait cosmic::cosmic_theme::palette::num::One">One</a> + <a class="trait" href="../num/trait.Arithmetics.html" title="trait cosmic::cosmic_theme::palette::num::Arithmetics">Arithmetics</a> + <a class="trait" href="../num/trait.Clamp.html" title="trait cosmic::cosmic_theme::palette::num::Clamp">Clamp</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.over" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/compose.rs.html#53">Source</a><a href="#method.over" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Compose.html#tymethod.over" class="fn">over</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Place <code>self</code> over <code>other</code>. This is the good old common alpha composition
equation.</div></details><details class="toggle method-toggle" open><summary><section id="method.inside" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/compose.rs.html#64">Source</a><a href="#method.inside" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Compose.html#tymethod.inside" class="fn">inside</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Results in the parts of <code>self</code> that overlaps the visible parts of
<code>other</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.outside" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/compose.rs.html#75">Source</a><a href="#method.outside" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Compose.html#tymethod.outside" class="fn">outside</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Results in the parts of <code>self</code> that lies outside the visible parts of
<code>other</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.atop" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/compose.rs.html#86">Source</a><a href="#method.atop" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Compose.html#tymethod.atop" class="fn">atop</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Place <code>self</code> over only the visible parts of <code>other</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.xor" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/compose.rs.html#97">Source</a><a href="#method.xor" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Compose.html#tymethod.xor" class="fn">xor</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Results in either <code>self</code> or <code>other</code>, where they do not overlap.</div></details><details class="toggle method-toggle" open><summary><section id="method.plus" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/compose.rs.html#114">Source</a><a href="#method.plus" class="anchor">§</a><h4 class="code-header">fn <a href="../blend/trait.Compose.html#tymethod.plus" class="fn">plus</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Add <code>self</code> and <code>other</code>. This uses the alpha component to regulate the
effect, so its not just plain component wise addition.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#38">Source</a><a href="#impl-Debug-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/trait.Debug.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::fmt::Debug">Debug</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/trait.Debug.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::fmt::Debug">Debug</a> + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/trait.Debug.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::fmt::Debug">Debug</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#38">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/struct.Formatter.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/struct.Error.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#166-169">Source</a><a href="#impl-Default-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</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"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#171">Source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deref-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#334">Source</a><a href="#impl-Deref-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#335">Source</a><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = C</h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#337">Source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;C</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DerefMut-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#342">Source</a><a href="#impl-DerefMut-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#343">Source</a><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html#tymethod.deref_mut" class="fn">deref_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut C</a></h4></section></summary><div class='docblock'>Mutably dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#366-369">Source</a><a href="#impl-Deserialize%3C'de%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'de, C&gt; <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html" title="trait serde_core::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a> + <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html" title="trait serde_core::de::Deserialize">Deserialize</a>&lt;'de&gt;,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html" title="trait serde_core::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#371-373">Source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;D&gt;(
deserializer: D,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;, &lt;D as <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
D: <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Cf32%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#330">Source</a><a href="#impl-Div%3Cf32%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, Output = C&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-10" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#330">Source</a><a href="#associatedtype.Output-10" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#330">Source</a><a href="#method.div-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Cf64%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#330">Source</a><a href="#impl-Div%3Cf64%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, Output = C&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-11" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#330">Source</a><a href="#associatedtype.Output-11" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-2" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#330">Source</a><a href="#method.div-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#274">Source</a><a href="#impl-Div-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;Output = C&gt;,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;Output = &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-9" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#274">Source</a><a href="#associatedtype.Output-9" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#274">Source</a><a href="#method.div" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Cf32%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#330">Source</a><a href="#impl-DivAssign%3Cf32%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#330">Source</a><a href="#method.div_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&amp;mut self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Cf64%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#330">Source</a><a href="#impl-DivAssign%3Cf64%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-2" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#330">Source</a><a href="#method.div_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&amp;mut self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#274">Source</a><a href="#impl-DivAssign-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a> + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a> + <a class="trait" href="../num/trait.Real.html" title="trait cosmic::cosmic_theme::palette::num::Real">Real</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#274">Source</a><a href="#method.div_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&amp;mut self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E-for-%26PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-From%3C%26%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E-for-%26PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&amp;'a [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for &amp;'a <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.from-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(array: &amp;'a [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]) -&gt; &amp;'a <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26PreAlpha%3CC%3E%3E-for-%26%5B%3CC+as+Premultiply%3E::Scalar%5D" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-From%3C%26PreAlpha%3CC%3E%3E-for-%26%5B%3CC+as+Premultiply%3E::Scalar%5D" class="anchor">§</a><h3 class="code-header">impl&lt;'a, C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&amp;'a <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;&gt; for &amp;'a [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-5" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.from-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(color: &amp;'a <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; &amp;'a [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26mut+%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E-for-%26mut+PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-From%3C%26mut+%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E-for-%26mut+PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&amp;'a mut [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for &amp;'a mut <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-6" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.from-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(array: &amp;'a mut [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]) -&gt; &amp;'a mut <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26mut+PreAlpha%3CC%3E%3E-for-%26mut+%5B%3CC+as+Premultiply%3E::Scalar%5D" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-From%3C%26mut+PreAlpha%3CC%3E%3E-for-%26mut+%5B%3CC+as+Premultiply%3E::Scalar%5D" class="anchor">§</a><h3 class="code-header">impl&lt;'a, C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&amp;'a mut <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;&gt; for &amp;'a mut [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-7" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.from-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(color: &amp;'a mut <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; &amp;'a mut [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-From%3C%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;[&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.from-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(array: [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%5BPreAlpha%3CCam16UcsJab%3CT%3E%3E;+N%5D%3E-for-PreAlpha%3CCam16UcsJab%3CV%3E%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/ucs_jab.rs.html#282">Source</a><a href="#impl-From%3C%5BPreAlpha%3CCam16UcsJab%3CT%3E%3E;+N%5D%3E-for-PreAlpha%3CCam16UcsJab%3CV%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, V, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;[<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;V&gt;&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[T; N]</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,
V: <a class="trait" href="../num/trait.FromScalarArray.html" title="trait cosmic::cosmic_theme::palette::num::FromScalarArray">FromScalarArray</a>&lt;N, Scalar = T&gt;,
<a class="struct" href="../cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
<a class="struct" href="../cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;V&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = V&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-10" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/ucs_jab.rs.html#282">Source</a><a href="#method.from-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(colors: [<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;V&gt;&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%5BPreAlpha%3CLab%3CWp,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CLab%3CWp,+V%3E%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lab.rs.html#350">Source</a><a href="#impl-From%3C%5BPreAlpha%3CLab%3CWp,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CLab%3CWp,+V%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, V, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;[<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, V&gt;&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[T; N]</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,
V: <a class="trait" href="../num/trait.FromScalarArray.html" title="trait cosmic::cosmic_theme::palette::num::FromScalarArray">FromScalarArray</a>&lt;N, Scalar = T&gt;,
<a class="struct" href="../struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
<a class="struct" href="../struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, V&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = V&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-12" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lab.rs.html#350">Source</a><a href="#method.from-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(colors: [<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, V&gt;&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%5BPreAlpha%3CLuma%3CS,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CLuma%3CS,+V%3E%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luma/luma.rs.html#756">Source</a><a href="#impl-From%3C%5BPreAlpha%3CLuma%3CS,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CLuma%3CS,+V%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T, V, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;[<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, V&gt;&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[T; N]</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,
V: <a class="trait" href="../num/trait.FromScalarArray.html" title="trait cosmic::cosmic_theme::palette::num::FromScalarArray">FromScalarArray</a>&lt;N, Scalar = T&gt;,
<a class="struct" href="../luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
<a class="struct" href="../luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, V&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = V&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-14" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luma/luma.rs.html#756">Source</a><a href="#method.from-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(colors: [<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, V&gt;&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%5BPreAlpha%3CLuv%3CWp,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CLuv%3CWp,+V%3E%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luv.rs.html#271">Source</a><a href="#impl-From%3C%5BPreAlpha%3CLuv%3CWp,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CLuv%3CWp,+V%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, V, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;[<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, V&gt;&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[T; N]</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,
V: <a class="trait" href="../num/trait.FromScalarArray.html" title="trait cosmic::cosmic_theme::palette::num::FromScalarArray">FromScalarArray</a>&lt;N, Scalar = T&gt;,
<a class="struct" href="../struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
<a class="struct" href="../struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, V&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = V&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-16" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luv.rs.html#271">Source</a><a href="#method.from-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(colors: [<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, V&gt;&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%5BPreAlpha%3COklab%3CT%3E%3E;+N%5D%3E-for-PreAlpha%3COklab%3CV%3E%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklab/properties.rs.html#55">Source</a><a href="#impl-From%3C%5BPreAlpha%3COklab%3CT%3E%3E;+N%5D%3E-for-PreAlpha%3COklab%3CV%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, V, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;[<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;V&gt;&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[T; N]</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,
V: <a class="trait" href="../num/trait.FromScalarArray.html" title="trait cosmic::cosmic_theme::palette::num::FromScalarArray">FromScalarArray</a>&lt;N, Scalar = T&gt;,
<a class="struct" href="../struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
<a class="struct" href="../struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;V&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = V&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-18" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklab/properties.rs.html#55">Source</a><a href="#method.from-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(colors: [<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;V&gt;&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%5BPreAlpha%3CRgb%3CS,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CRgb%3CS,+V%3E%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/rgb/rgb.rs.html#1001">Source</a><a href="#impl-From%3C%5BPreAlpha%3CRgb%3CS,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CRgb%3CS,+V%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T, V, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;[<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, V&gt;&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[T; N]</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,
V: <a class="trait" href="../num/trait.FromScalarArray.html" title="trait cosmic::cosmic_theme::palette::num::FromScalarArray">FromScalarArray</a>&lt;N, Scalar = T&gt;,
<a class="struct" href="../rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
<a class="struct" href="../rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, V&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = V&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-20" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/rgb/rgb.rs.html#1001">Source</a><a href="#method.from-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(colors: [<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, V&gt;&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%5BPreAlpha%3CXyz%3CWp,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CXyz%3CWp,+V%3E%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/xyz.rs.html#447">Source</a><a href="#impl-From%3C%5BPreAlpha%3CXyz%3CWp,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CXyz%3CWp,+V%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, V, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;[<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, V&gt;&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[T; N]</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,
V: <a class="trait" href="../num/trait.FromScalarArray.html" title="trait cosmic::cosmic_theme::palette::num::FromScalarArray">FromScalarArray</a>&lt;N, Scalar = T&gt;,
<a class="struct" href="../struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
<a class="struct" href="../struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, V&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = V&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-22" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/xyz.rs.html#447">Source</a><a href="#method.from-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(colors: [<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, V&gt;&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%5BPreAlpha%3CYxy%3CWp,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CYxy%3CWp,+V%3E%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/yxy.rs.html#269">Source</a><a href="#impl-From%3C%5BPreAlpha%3CYxy%3CWp,+T%3E%3E;+N%5D%3E-for-PreAlpha%3CYxy%3CWp,+V%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, V, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;[<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, V&gt;&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[T; N]</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,
V: <a class="trait" href="../num/trait.FromScalarArray.html" title="trait cosmic::cosmic_theme::palette::num::FromScalarArray">FromScalarArray</a>&lt;N, Scalar = T&gt;,
<a class="struct" href="../struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
<a class="struct" href="../struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, V&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = V&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-24" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/yxy.rs.html#269">Source</a><a href="#method.from-24" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(colors: [<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, T&gt;&gt;; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, V&gt;&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CAlpha%3CC,+%3CC+as+Premultiply%3E::Scalar%3E%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#93-95">Source</a><a href="#impl-From%3CAlpha%3CC,+%3CC+as+Premultiply%3E::Scalar%3E%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;C, &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>&gt;&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#98">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(color: <a class="struct" href="../struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;C, &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>&gt;) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CBox%3C%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E%3E-for-Box%3CPreAlpha%3CC%3E%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-From%3CBox%3C%5B%3CC+as+Premultiply%3E::Scalar;+N%5D%3E%3E-for-Box%3CPreAlpha%3CC%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/boxed/struct.Box.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::boxed::Box">Box</a>&lt;[&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;&gt; for <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/boxed/struct.Box.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::boxed::Box">Box</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-8" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.from-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(array: <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/boxed/struct.Box.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::boxed::Box">Box</a>&lt;[&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;) -&gt; <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/boxed/struct.Box.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::boxed::Box">Box</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CC%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#114-117">Source</a><a href="#impl-From%3CC%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;C&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</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"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#119">Source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(color: C) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPreAlpha%3CC%3E%3E-for-Alpha%3CC,+%3CC+as+Premultiply%3E::Scalar%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#103-105">Source</a><a href="#impl-From%3CPreAlpha%3CC%3E%3E-for-Alpha%3CC,+%3CC+as+Premultiply%3E::Scalar%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;&gt; for <a class="struct" href="../struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;C, &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#108">Source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(color: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="struct" href="../struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;C, &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPreAlpha%3CCam16UcsJab%3CT%3E%3E%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#267">Source</a><a href="#impl-From%3CPreAlpha%3CCam16UcsJab%3CT%3E%3E%3E-for-Cam16UcsJab%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;T&gt;&gt;&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 class="struct" href="../cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-9" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/ucs_jab.rs.html#267">Source</a><a href="#method.from-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(premultiplied: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;T&gt;&gt;) -&gt; <a class="struct" href="../cam16/struct.Cam16UcsJab.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJab">Cam16UcsJab</a>&lt;T&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPreAlpha%3CLab%3CWp,+T%3E%3E%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#231">Source</a><a href="#impl-From%3CPreAlpha%3CLab%3CWp,+T%3E%3E%3E-for-Lab%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, T&gt;&gt;&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 class="struct" href="../struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-11" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lab.rs.html#231">Source</a><a href="#method.from-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(premultiplied: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, T&gt;&gt;) -&gt; <a class="struct" href="../struct.Lab.html" title="struct cosmic::cosmic_theme::palette::Lab">Lab</a>&lt;Wp, T&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPreAlpha%3CLuma%3CS,+T%3E%3E%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#576">Source</a><a href="#impl-From%3CPreAlpha%3CLuma%3CS,+T%3E%3E%3E-for-Luma%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, T&gt;&gt;&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 class="struct" href="../luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-13" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luma/luma.rs.html#576">Source</a><a href="#method.from-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(premultiplied: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, T&gt;&gt;) -&gt; <a class="struct" href="../luma/struct.Luma.html" title="struct cosmic::cosmic_theme::palette::luma::Luma">Luma</a>&lt;S, T&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPreAlpha%3CLuv%3CWp,+T%3E%3E%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#233">Source</a><a href="#impl-From%3CPreAlpha%3CLuv%3CWp,+T%3E%3E%3E-for-Luv%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, T&gt;&gt;&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 class="struct" href="../struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-15" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/luv.rs.html#233">Source</a><a href="#method.from-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(premultiplied: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, T&gt;&gt;) -&gt; <a class="struct" href="../struct.Luv.html" title="struct cosmic::cosmic_theme::palette::Luv">Luv</a>&lt;Wp, T&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPreAlpha%3COklab%3CT%3E%3E%3E-for-Oklab%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklab/properties.rs.html#29">Source</a><a href="#impl-From%3CPreAlpha%3COklab%3CT%3E%3E%3E-for-Oklab%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;T&gt;&gt;&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 class="struct" href="../struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-17" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklab/properties.rs.html#29">Source</a><a href="#method.from-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(premultiplied: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;T&gt;&gt;) -&gt; <a class="struct" href="../struct.Oklab.html" title="struct cosmic::cosmic_theme::palette::Oklab">Oklab</a>&lt;T&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPreAlpha%3CRgb%3CS,+T%3E%3E%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#973">Source</a><a href="#impl-From%3CPreAlpha%3CRgb%3CS,+T%3E%3E%3E-for-Rgb%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, T&gt;&gt;&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 class="struct" href="../rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-19" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/rgb/rgb.rs.html#973">Source</a><a href="#method.from-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(premultiplied: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, T&gt;&gt;) -&gt; <a class="struct" href="../rgb/struct.Rgb.html" title="struct cosmic::cosmic_theme::palette::rgb::Rgb">Rgb</a>&lt;S, T&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPreAlpha%3CXyz%3CWp,+T%3E%3E%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#420">Source</a><a href="#impl-From%3CPreAlpha%3CXyz%3CWp,+T%3E%3E%3E-for-Xyz%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, T&gt;&gt;&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 class="struct" href="../struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-21" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/xyz.rs.html#420">Source</a><a href="#method.from-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(premultiplied: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, T&gt;&gt;) -&gt; <a class="struct" href="../struct.Xyz.html" title="struct cosmic::cosmic_theme::palette::Xyz">Xyz</a>&lt;Wp, T&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPreAlpha%3CYxy%3CWp,+T%3E%3E%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#235">Source</a><a href="#impl-From%3CPreAlpha%3CYxy%3CWp,+T%3E%3E%3E-for-Yxy%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, T&gt;&gt;&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 class="struct" href="../struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, T&gt;: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-23" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/yxy.rs.html#235">Source</a><a href="#method.from-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(premultiplied: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;<a class="struct" href="../struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, T&gt;&gt;) -&gt; <a class="struct" href="../struct.Yxy.html" title="struct cosmic::cosmic_theme::palette::Yxy">Yxy</a>&lt;Wp, T&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mix-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#124-127">Source</a><a href="#impl-Mix-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T&gt; <a class="trait" href="../trait.Mix.html" title="trait cosmic::cosmic_theme::palette::Mix">Mix</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../trait.Mix.html" title="trait cosmic::cosmic_theme::palette::Mix">Mix</a>&lt;Scalar = T&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
T: <a class="trait" href="../num/trait.Real.html" title="trait cosmic::cosmic_theme::palette::num::Real">Real</a> + <a class="trait" href="../num/trait.Zero.html" title="trait cosmic::cosmic_theme::palette::num::Zero">Zero</a> + <a class="trait" href="../num/trait.One.html" title="trait cosmic::cosmic_theme::palette::num::One">One</a> + <a class="trait" href="../num/trait.Clamp.html" title="trait cosmic::cosmic_theme::palette::num::Clamp">Clamp</a> + <a class="trait" href="../num/trait.Arithmetics.html" title="trait cosmic::cosmic_theme::palette::num::Arithmetics">Arithmetics</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Scalar" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#129">Source</a><a href="#associatedtype.Scalar" class="anchor">§</a><h4 class="code-header">type <a href="../trait.Mix.html#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></summary><div class='docblock'>The type of the mixing factor.</div></details><details class="toggle method-toggle" open><summary><section id="method.mix" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#132">Source</a><a href="#method.mix" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Mix.html#tymethod.mix" class="fn">mix</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;, factor: T) -&gt; <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>Mix the color with an other color, by <code>factor</code>. <a href="../trait.Mix.html#tymethod.mix">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MixAssign-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#142-145">Source</a><a href="#impl-MixAssign-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T&gt; <a class="trait" href="../trait.MixAssign.html" title="trait cosmic::cosmic_theme::palette::MixAssign">MixAssign</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../trait.MixAssign.html" title="trait cosmic::cosmic_theme::palette::MixAssign">MixAssign</a>&lt;Scalar = T&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
T: <a class="trait" href="../num/trait.Real.html" title="trait cosmic::cosmic_theme::palette::num::Real">Real</a> + <a class="trait" href="../num/trait.Zero.html" title="trait cosmic::cosmic_theme::palette::num::Zero">Zero</a> + <a class="trait" href="../num/trait.One.html" title="trait cosmic::cosmic_theme::palette::num::One">One</a> + <a class="trait" href="../num/trait.Clamp.html" title="trait cosmic::cosmic_theme::palette::num::Clamp">Clamp</a> + <a class="trait" href="../num/trait.Arithmetics.html" title="trait cosmic::cosmic_theme::palette::num::Arithmetics">Arithmetics</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Scalar-1" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#147">Source</a><a href="#associatedtype.Scalar-1" class="anchor">§</a><h4 class="code-header">type <a href="../trait.MixAssign.html#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></summary><div class='docblock'>The type of the mixing factor.</div></details><details class="toggle method-toggle" open><summary><section id="method.mix_assign" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#150">Source</a><a href="#method.mix_assign" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.MixAssign.html#tymethod.mix_assign" class="fn">mix_assign</a>(&amp;mut self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;, factor: T)</h4></section></summary><div class='docblock'>Mix the color with an other color, by <code>factor</code>. <a href="../trait.MixAssign.html#tymethod.mix_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Cf32%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#329">Source</a><a href="#impl-Mul%3Cf32%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, Output = C&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-7" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#329">Source</a><a href="#associatedtype.Output-7" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#329">Source</a><a href="#method.mul-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Cf64%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#329">Source</a><a href="#impl-Mul%3Cf64%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, Output = C&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-8" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#329">Source</a><a href="#associatedtype.Output-8" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-2" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#329">Source</a><a href="#method.mul-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#273">Source</a><a href="#impl-Mul-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;Output = C&gt;,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;Output = &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-6" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#273">Source</a><a href="#associatedtype.Output-6" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#273">Source</a><a href="#method.mul" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Cf32%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#329">Source</a><a href="#impl-MulAssign%3Cf32%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#329">Source</a><a href="#method.mul_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&amp;mut self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Cf64%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#329">Source</a><a href="#impl-MulAssign%3Cf64%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-2" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#329">Source</a><a href="#method.mul_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&amp;mut self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#273">Source</a><a href="#impl-MulAssign-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a> + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a> + <a class="trait" href="../num/trait.Real.html" title="trait cosmic::cosmic_theme::palette::num::Real">Real</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#273">Source</a><a href="#method.mul_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&amp;mut self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#76-79">Source</a><a href="#impl-PartialEq-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#81">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#265">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RelativeEq-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#199-203">Source</a><a href="#impl-RelativeEq-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T&gt; RelativeEq for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: RelativeEq&lt;Epsilon = &lt;T as AbsDiffEq&gt;::Epsilon&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
T: RelativeEq,
&lt;T as AbsDiffEq&gt;::Epsilon: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default_max_relative" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#205">Source</a><a href="#method.default_max_relative" class="anchor">§</a><h4 class="code-header">fn <a class="fn">default_max_relative</a>() -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as AbsDiffEq&gt;::Epsilon</h4></section></summary><div class='docblock'>The default relative tolerance for testing values that are far-apart. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.relative_eq" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#209-214">Source</a><a href="#method.relative_eq" class="anchor">§</a><h4 class="code-header">fn <a class="fn">relative_eq</a>(
&amp;self,
other: &amp;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;,
epsilon: &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as AbsDiffEq&gt;::Epsilon,
max_relative: &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as AbsDiffEq&gt;::Epsilon,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>A test for equality that uses a relative comparison if the values are far apart.</div></details><details class="toggle method-toggle" open><summary><section id="method.relative_ne" class="method trait-impl"><a href="#method.relative_ne" class="anchor">§</a><h4 class="code-header">fn <a class="fn">relative_ne</a>(
&amp;self,
other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>The inverse of [<code>RelativeEq::relative_eq</code>].</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#349-352">Source</a><a href="#impl-Serialize-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serialize.html" title="trait serde_core::ser::Serialize">Serialize</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a> + <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serialize.html" title="trait serde_core::ser::Serialize">Serialize</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serialize.html" title="trait serde_core::ser::Serialize">Serialize</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#354-356">Source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;S&gt;(
&amp;self,
serializer: S,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&lt;S as <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html" title="trait serde_core::ser::Serializer">Serializer</a>&gt;::<a class="associatedtype" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html#associatedtype.Ok" title="type serde_core::ser::Serializer::Ok">Ok</a>, &lt;S as <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html" title="trait serde_core::ser::Serializer">Serializer</a>&gt;::<a class="associatedtype" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html#associatedtype.Error" title="type serde_core::ser::Serializer::Error">Error</a>&gt;<div class="where">where
S: <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html" title="trait serde_core::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3Cf32%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#328">Source</a><a href="#impl-Sub%3Cf32%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, Output = C&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-4" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#328">Source</a><a href="#associatedtype.Output-4" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#328">Source</a><a href="#method.sub-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3Cf64%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#328">Source</a><a href="#impl-Sub%3Cf64%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, Output = C&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-5" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#328">Source</a><a href="#associatedtype.Output-5" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-2" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#328">Source</a><a href="#method.sub-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#272">Source</a><a href="#impl-Sub-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;Output = C&gt;,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;Output = &lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-3" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#272">Source</a><a href="#associatedtype.Output-3" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;</h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#272">Source</a><a href="#method.sub" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;) -&gt; &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3Cf32%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#328">Source</a><a href="#impl-SubAssign%3Cf32%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#328">Source</a><a href="#method.sub_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&amp;mut self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3Cf64%3E-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#328">Source</a><a href="#impl-SubAssign%3Cf64%3E-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign-2" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#328">Source</a><a href="#method.sub_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&amp;mut self, c: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#272">Source</a><a href="#impl-SubAssign-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a> + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a> + <a class="trait" href="../num/trait.Real.html" title="trait cosmic::cosmic_theme::palette::num::Real">Real</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#272">Source</a><a href="#method.sub_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&amp;mut self, other: <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TryFrom%3C%26%5B%3CC+as+Premultiply%3E::Scalar%5D%3E-for-%26PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-TryFrom%3C%26%5B%3CC+as+Premultiply%3E::Scalar%5D%3E-for-%26PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;&amp;'a [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]&gt; for &amp;'a <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;&amp;'a [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>] as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;&amp;'a [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(
slice: &amp;'a [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;'a <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;, &lt;&amp;'a <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;&amp;'a [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TryFrom%3C%26mut+%5B%3CC+as+Premultiply%3E::Scalar%5D%3E-for-%26mut+PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#impl-TryFrom%3C%26mut+%5B%3CC+as+Premultiply%3E::Scalar%5D%3E-for-%26mut+PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, C, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;&amp;'a mut [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]&gt; for &amp;'a mut <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;: <a class="trait" href="../cast/trait.ArrayCast.html" title="trait cosmic::cosmic_theme::palette::cast::ArrayCast">ArrayCast</a>&lt;Array = [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;&amp;'a mut [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">N</a>] as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;&amp;'a mut [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#332">Source</a><a href="#method.try_from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(
slice: &amp;'a mut [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;'a mut <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;, &lt;&amp;'a mut <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;&amp;'a mut [&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>]&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UlpsEq-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#222-226">Source</a><a href="#impl-UlpsEq-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T&gt; UlpsEq for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: UlpsEq&lt;Epsilon = &lt;T as AbsDiffEq&gt;::Epsilon&gt; + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&lt;Scalar = T&gt;,
T: UlpsEq,
&lt;T as AbsDiffEq&gt;::Epsilon: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default_max_ulps" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#228">Source</a><a href="#method.default_max_ulps" class="anchor">§</a><h4 class="code-header">fn <a class="fn">default_max_ulps</a>() -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>The default ULPs to tolerate when testing values that are far-apart. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ulps_eq" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#232">Source</a><a href="#method.ulps_eq" class="anchor">§</a><h4 class="code-header">fn <a class="fn">ulps_eq</a>(
&amp;self,
other: &amp;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;,
epsilon: &lt;<a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt; as AbsDiffEq&gt;::Epsilon,
max_ulps: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>A test for equality that uses units in the last place (ULP) if the values are far apart.</div></details><details class="toggle method-toggle" open><summary><section id="method.ulps_ne" class="method trait-impl"><a href="#method.ulps_ne" class="anchor">§</a><h4 class="code-header">fn <a class="fn">ulps_ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>, epsilon: Self::Epsilon, max_ulps: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>The inverse of [<code>UlpsEq::ulps_eq</code>].</div></details></div></details><section id="impl-Copy-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#38">Source</a><a href="#impl-Copy-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,</div></h3></section><section id="impl-Eq-for-PreAlpha%3CC%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/blend/pre_alpha.rs.html#86-89">Source</a><a href="#impl-Eq-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a>,</div></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-PreAlpha%3CC%3E" class="impl"><a href="#impl-Freeze-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-PreAlpha%3CC%3E" class="impl"><a href="#impl-RefUnwindSafe-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-PreAlpha%3CC%3E" class="impl"><a href="#impl-Send-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-PreAlpha%3CC%3E" class="impl"><a href="#impl-Sync-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-PreAlpha%3CC%3E" class="impl"><a href="#impl-Unpin-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-PreAlpha%3CC%3E" class="impl"><a href="#impl-UnwindSafe-for-PreAlpha%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.PreAlpha.html" title="struct cosmic::cosmic_theme::palette::alpha::PreAlpha">PreAlpha</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,
&lt;C as <a class="trait" href="../blend/trait.Premultiply.html" title="trait cosmic::cosmic_theme::palette::blend::Premultiply">Premultiply</a>&gt;::<a class="associatedtype" href="../blend/trait.Premultiply.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::blend::Premultiply::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,</div></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Access%3CT%3E-for-P" class="impl"><a href="#impl-Access%3CT%3E-for-P" class="anchor">§</a><h3 class="code-header">impl&lt;T, A, P&gt; Access&lt;T&gt; for P<div class="where">where
A: Access&lt;T&gt; + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = A&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Guard" class="associatedtype trait-impl"><a href="#associatedtype.Guard" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Guard</a> = &lt;A as Access&lt;T&gt;&gt;::Guard</h4></section></summary><div class='docblock'>A guard object containing the value and keeping it alive. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.load" class="method trait-impl"><a href="#method.load" class="anchor">§</a><h4 class="code-header">fn <a class="fn">load</a>(&amp;self) -&gt; &lt;P as Access&lt;T&gt;&gt;::Guard</h4></section></summary><div class='docblock'>The loading method. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AdaptInto%3CD,+Swp,+Dwp,+T%3E-for-S" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/chromatic_adaptation.rs.html#205-210">Source</a><a href="#impl-AdaptInto%3CD,+Swp,+Dwp,+T%3E-for-S" class="anchor">§</a><h3 class="code-header">impl&lt;S, D, Swp, Dwp, T&gt; <a class="trait" href="../chromatic_adaptation/trait.AdaptInto.html" title="trait cosmic::cosmic_theme::palette::chromatic_adaptation::AdaptInto">AdaptInto</a>&lt;D, Swp, Dwp, T&gt; for S<div class="where">where
T: <a class="trait" href="../num/trait.Real.html" title="trait cosmic::cosmic_theme::palette::num::Real">Real</a> + <a class="trait" href="../num/trait.Zero.html" title="trait cosmic::cosmic_theme::palette::num::Zero">Zero</a> + <a class="trait" href="../num/trait.Arithmetics.html" title="trait cosmic::cosmic_theme::palette::num::Arithmetics">Arithmetics</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
Swp: <a class="trait" href="../white_point/trait.WhitePoint.html" title="trait cosmic::cosmic_theme::palette::white_point::WhitePoint">WhitePoint</a>&lt;T&gt;,
Dwp: <a class="trait" href="../white_point/trait.WhitePoint.html" title="trait cosmic::cosmic_theme::palette::white_point::WhitePoint">WhitePoint</a>&lt;T&gt;,
D: <a class="trait" href="../chromatic_adaptation/trait.AdaptFrom.html" title="trait cosmic::cosmic_theme::palette::chromatic_adaptation::AdaptFrom">AdaptFrom</a>&lt;S, Swp, Dwp, T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.adapt_into_using" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/chromatic_adaptation.rs.html#213">Source</a><a href="#method.adapt_into_using" class="anchor">§</a><h4 class="code-header">fn <a href="../chromatic_adaptation/trait.AdaptInto.html#tymethod.adapt_into_using" class="fn">adapt_into_using</a>&lt;M&gt;(self, method: M) -&gt; D<div class="where">where
M: <a class="trait" href="../chromatic_adaptation/trait.TransformMatrix.html" title="trait cosmic::cosmic_theme::palette::chromatic_adaptation::TransformMatrix">TransformMatrix</a>&lt;T&gt;,</div></h4></section></summary><div class='docblock'>Convert the source color to the destination color using the specified
method.</div></details><details class="toggle method-toggle" open><summary><section id="method.adapt_into" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/chromatic_adaptation.rs.html#196">Source</a><a href="#method.adapt_into" class="anchor">§</a><h4 class="code-header">fn <a href="../chromatic_adaptation/trait.AdaptInto.html#method.adapt_into" class="fn">adapt_into</a>(self) -&gt; D</h4></section></summary><div class='docblock'>Convert the source color to the destination color using the bradford
method by default.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Also-for-T" class="impl"><a href="#impl-Also-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../../trait.Also.html" title="trait cosmic::Also">Also</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.also" class="method trait-impl"><a href="#method.also" class="anchor">§</a><h4 class="code-header">fn <a href="../../../trait.Also.html#method.also" class="fn">also</a>&lt;F&gt;(self, block: F) -&gt; Self<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;mut Self),</div></h4></section></summary><div class='docblock'>Apply a function to this value and return the (possibly) modified value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AnyEq-for-T" class="impl"><a href="#impl-AnyEq-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; AnyEq for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>,</div></h3></section></summary><div class="impl-items"><section id="method.equals" class="method trait-impl"><a href="#method.equals" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equals</a>(&amp;self, other: &amp;(dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section><section id="method.as_any-1" class="method trait-impl"><a href="#method.as_any-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any</a>(&amp;self) -&gt; &amp;(dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Apply%3CRes%3E-for-T" class="impl"><a href="#impl-Apply%3CRes%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, Res&gt; <a class="trait" href="../../../trait.Apply.html" title="trait cosmic::Apply">Apply</a>&lt;Res&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.apply" class="method trait-impl"><a href="#method.apply" class="anchor">§</a><h4 class="code-header">fn <a href="../../../trait.Apply.html#method.apply" class="fn">apply</a>&lt;F&gt;(self, f: F) -&gt; Res<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(Self) -&gt; Res,
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Apply a function which takes the parameter by value.</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_ref" class="method trait-impl"><a href="#method.apply_ref" class="anchor">§</a><h4 class="code-header">fn <a href="../../../trait.Apply.html#method.apply_ref" class="fn">apply_ref</a>&lt;F&gt;(&amp;self, f: F) -&gt; Res<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;Self) -&gt; Res,</div></h4></section></summary><div class='docblock'>Apply a function which takes the parameter by reference.</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_mut" class="method trait-impl"><a href="#method.apply_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../../../trait.Apply.html#method.apply_mut" class="fn">apply_mut</a>&lt;F&gt;(&amp;mut self, f: F) -&gt; Res<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;mut Self) -&gt; Res,</div></h4></section></summary><div class='docblock'>Apply a function which takes the parameter by mutable reference.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ArraysFrom%3CC%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_arrays_traits.rs.html#271-273">Source</a><a href="#impl-ArraysFrom%3CC%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, C&gt; <a class="trait" href="../cast/trait.ArraysFrom.html" title="trait cosmic::cosmic_theme::palette::cast::ArraysFrom">ArraysFrom</a>&lt;C&gt; for T<div class="where">where
C: <a class="trait" href="../cast/trait.IntoArrays.html" title="trait cosmic::cosmic_theme::palette::cast::IntoArrays">IntoArrays</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.arrays_from" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_arrays_traits.rs.html#276">Source</a><a href="#method.arrays_from" class="anchor">§</a><h4 class="code-header">fn <a href="../cast/trait.ArraysFrom.html#tymethod.arrays_from" class="fn">arrays_from</a>(colors: C) -&gt; T</h4></section></summary><div class='docblock'>Cast a collection of colors into a collection of arrays.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ArraysInto%3CC%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_arrays_traits.rs.html#329-331">Source</a><a href="#impl-ArraysInto%3CC%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, C&gt; <a class="trait" href="../cast/trait.ArraysInto.html" title="trait cosmic::cosmic_theme::palette::cast::ArraysInto">ArraysInto</a>&lt;C&gt; for T<div class="where">where
C: <a class="trait" href="../cast/trait.FromArrays.html" title="trait cosmic::cosmic_theme::palette::cast::FromArrays">FromArrays</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.arrays_into" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_arrays_traits.rs.html#334">Source</a><a href="#method.arrays_into" class="anchor">§</a><h4 class="code-header">fn <a href="../cast/trait.ArraysInto.html#tymethod.arrays_into" class="fn">arrays_into</a>(self) -&gt; C</h4></section></summary><div class='docblock'>Cast this collection of arrays into a collection of colors.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.Borrow.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.BorrowMut.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Cam16IntoUnclamped%3CWpParam,+T%3E-for-U" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#143-145">Source</a><a href="#impl-Cam16IntoUnclamped%3CWpParam,+T%3E-for-U" class="anchor">§</a><h3 class="code-header">impl&lt;WpParam, T, U&gt; <a class="trait" href="../cam16/trait.Cam16IntoUnclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::Cam16IntoUnclamped">Cam16IntoUnclamped</a>&lt;WpParam, T&gt; for U<div class="where">where
T: <a class="trait" href="../cam16/trait.FromCam16Unclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::FromCam16Unclamped">FromCam16Unclamped</a>&lt;WpParam, U&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Scalar-3" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#147">Source</a><a href="#associatedtype.Scalar-3" class="anchor">§</a><h4 class="code-header">type <a href="../cam16/trait.Cam16IntoUnclamped.html#associatedtype.Scalar" class="associatedtype">Scalar</a> = &lt;T as <a class="trait" href="../cam16/trait.FromCam16Unclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::FromCam16Unclamped">FromCam16Unclamped</a>&lt;WpParam, U&gt;&gt;::<a class="associatedtype" href="../cam16/trait.FromCam16Unclamped.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::cam16::FromCam16Unclamped::Scalar">Scalar</a></h4></section></summary><div class='docblock'>The number type thats used in <code>parameters</code> when converting.</div></details><details class="toggle method-toggle" open><summary><section id="method.cam16_into_unclamped" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#149">Source</a><a href="#method.cam16_into_unclamped" class="anchor">§</a><h4 class="code-header">fn <a href="../cam16/trait.Cam16IntoUnclamped.html#tymethod.cam16_into_unclamped" class="fn">cam16_into_unclamped</a>(
self,
parameters: <a class="struct" href="../cam16/struct.BakedParameters.html" title="struct cosmic::cosmic_theme::palette::cam16::BakedParameters">BakedParameters</a>&lt;WpParam, &lt;U as <a class="trait" href="../cam16/trait.Cam16IntoUnclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::Cam16IntoUnclamped">Cam16IntoUnclamped</a>&lt;WpParam, T&gt;&gt;::<a class="associatedtype" href="../cam16/trait.Cam16IntoUnclamped.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::cam16::Cam16IntoUnclamped::Scalar">Scalar</a>&gt;,
) -&gt; T</h4></section></summary><div class='docblock'>Converts <code>self</code> into <code>C</code>, using the provided parameters.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#483">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#485">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&amp;self, dest: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dest</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ComponentsFrom%3CC%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_components_traits.rs.html#414-416">Source</a><a href="#impl-ComponentsFrom%3CC%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, C&gt; <a class="trait" href="../cast/trait.ComponentsFrom.html" title="trait cosmic::cosmic_theme::palette::cast::ComponentsFrom">ComponentsFrom</a>&lt;C&gt; for T<div class="where">where
C: <a class="trait" href="../cast/trait.IntoComponents.html" title="trait cosmic::cosmic_theme::palette::cast::IntoComponents">IntoComponents</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.components_from" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_components_traits.rs.html#419">Source</a><a href="#method.components_from" class="anchor">§</a><h4 class="code-header">fn <a href="../cast/trait.ComponentsFrom.html#tymethod.components_from" class="fn">components_from</a>(colors: C) -&gt; T</h4></section></summary><div class='docblock'>Cast a collection of colors into a collection of color components.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-T" class="impl"><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Downcast for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl"><a href="#method.into_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any</a>(self: <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/boxed/struct.Box.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::boxed::Box">Box</a>&lt;T&gt;) -&gt; <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/boxed/struct.Box.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>&gt;</h4></section></summary><div class='docblock'>Convert <code>Box&lt;dyn Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Box&lt;dyn Any&gt;</code>. <code>Box&lt;dyn Any&gt;</code> can
then be further <code>downcast</code> into <code>Box&lt;ConcreteType&gt;</code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_any_rc" class="method trait-impl"><a href="#method.into_any_rc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_rc</a>(self: <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/rc/struct.Rc.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::rc::Rc">Rc</a>&lt;T&gt;) -&gt; <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/rc/struct.Rc.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::rc::Rc">Rc</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>&gt;</h4></section></summary><div class='docblock'>Convert <code>Rc&lt;Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Rc&lt;Any&gt;</code>. <code>Rc&lt;Any&gt;</code> can then be
further <code>downcast</code> into <code>Rc&lt;ConcreteType&gt;</code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any" class="method trait-impl"><a href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any</a>(&amp;self) -&gt; &amp;(dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&amp;Trait</code> (where <code>Trait: Downcast</code>) to <code>&amp;Any</code>. This is needed since Rust cannot
generate <code>&amp;Any</code>s vtable from <code>&amp;Trait</code>s.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any_mut" class="method trait-impl"><a href="#method.as_any_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any_mut</a>(&amp;mut self) -&gt; &amp;mut (dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&amp;mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&amp;Any</code>. This is needed since Rust cannot
generate <code>&amp;mut Any</code>s vtable from <code>&amp;mut Trait</code>s.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DowncastSync-for-T" class="impl"><a href="#impl-DowncastSync-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; DowncastSync for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any_arc" class="method trait-impl"><a href="#method.into_any_arc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_arc</a>(self: <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/sync/struct.Arc.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::sync::Arc">Arc</a>&lt;T&gt;) -&gt; <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/sync/struct.Arc.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::sync::Arc">Arc</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;</h4></section></summary><div class='docblock'>Convert <code>Arc&lt;Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Arc&lt;Any&gt;</code>. <code>Arc&lt;Any&gt;</code> can then be
further <code>downcast</code> into <code>Arc&lt;ConcreteType&gt;</code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DynAccess%3CT%3E-for-A" class="impl"><a href="#impl-DynAccess%3CT%3E-for-A" class="anchor">§</a><h3 class="code-header">impl&lt;T, A&gt; DynAccess&lt;T&gt; for A<div class="where">where
A: Access&lt;T&gt;,
&lt;A as Access&lt;T&gt;&gt;::Guard: 'static,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.load-1" class="method trait-impl"><a href="#method.load-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">load</a>(&amp;self) -&gt; DynGuard&lt;T&gt;</h4></section></summary><div class='docblock'>The equivalent of [<code>Access::load</code>].</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q" class="anchor">§</a><h3 class="code-header">impl&lt;Q, K&gt; Equivalent&lt;K&gt; for Q<div class="where">where
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
K: <a class="trait" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.Borrow.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Borrow">Borrow</a>&lt;Q&gt; + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.equivalent" class="method trait-impl"><a href="#method.equivalent" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Checks if this value is equivalent to the given key. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q-1" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q-1" class="anchor">§</a><h3 class="code-header">impl&lt;Q, K&gt; Equivalent&lt;K&gt; for Q<div class="where">where
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
K: <a class="trait" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.Borrow.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Borrow">Borrow</a>&lt;Q&gt; + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.equivalent-1" class="method trait-impl"><a href="#method.equivalent-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Checks if this value is equivalent to the given key. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q-2" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q-2" class="anchor">§</a><h3 class="code-header">impl&lt;Q, K&gt; Equivalent&lt;K&gt; for Q<div class="where">where
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
K: <a class="trait" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.Borrow.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Borrow">Borrow</a>&lt;Q&gt; + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.equivalent-2" class="method trait-impl"><a href="#method.equivalent-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Compare self to <code>key</code> and return <code>true</code> if they are equal.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#791">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-25" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#794">Source</a><a href="#method.from-25" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromAngle%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/angle.rs.html#65">Source</a><a href="#impl-FromAngle%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../angle/trait.FromAngle.html" title="trait cosmic::cosmic_theme::palette::angle::FromAngle">FromAngle</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_angle" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/angle.rs.html#67">Source</a><a href="#method.from_angle" class="anchor">§</a><h4 class="code-header">fn <a href="../angle/trait.FromAngle.html#tymethod.from_angle" class="fn">from_angle</a>(angle: T) -&gt; T</h4></section></summary><div class='docblock'>Performs a conversion from <code>angle</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromStimulus%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/stimulus.rs.html#85">Source</a><a href="#impl-FromStimulus%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="../stimulus/trait.FromStimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::FromStimulus">FromStimulus</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="../stimulus/trait.IntoStimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::IntoStimulus">IntoStimulus</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_stimulus" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/stimulus.rs.html#87">Source</a><a href="#method.from_stimulus" class="anchor">§</a><h4 class="code-header">fn <a href="../stimulus/trait.FromStimulus.html#tymethod.from_stimulus" class="fn">from_stimulus</a>(other: U) -&gt; T</h4></section></summary><div class='docblock'>Converts <code>other</code> into <code>Self</code>, while performing the appropriate scaling,
rounding and clamping.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -&gt; Instrumented&lt;Self&gt; <a href="#" class="tooltip" data-notable-ty="Instrumented&lt;Self&gt;"></a></h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -&gt; Instrumented&lt;Self&gt; <a href="#" class="tooltip" data-notable-ty="Instrumented&lt;Self&gt;"></a></h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#773-775">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#783">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoAngle%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/angle.rs.html#78-80">Source</a><a href="#impl-IntoAngle%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="../angle/trait.IntoAngle.html" title="trait cosmic::cosmic_theme::palette::angle::IntoAngle">IntoAngle</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="../angle/trait.FromAngle.html" title="trait cosmic::cosmic_theme::palette::angle::FromAngle">FromAngle</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_angle" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/angle.rs.html#83">Source</a><a href="#method.into_angle" class="anchor">§</a><h4 class="code-header">fn <a href="../angle/trait.IntoAngle.html#tymethod.into_angle" class="fn">into_angle</a>(self) -&gt; U</h4></section></summary><div class='docblock'>Performs a conversion into <code>T</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoBoot%3CState,+Message%3E-for-State" class="impl"><a href="#impl-IntoBoot%3CState,+Message%3E-for-State" class="anchor">§</a><h3 class="code-header">impl&lt;State, Message&gt; <a class="trait" href="../../../iced/application/trait.IntoBoot.html" title="trait cosmic::iced::application::IntoBoot">IntoBoot</a>&lt;State, Message&gt; for State</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_boot" class="method trait-impl"><a href="#method.into_boot" class="anchor">§</a><h4 class="code-header">fn <a href="../../../iced/application/trait.IntoBoot.html#tymethod.into_boot" class="fn">into_boot</a>(self) -&gt; (State, <a class="struct" href="../../../struct.Task.html" title="struct cosmic::Task">Task</a>&lt;Message&gt;)</h4></section></summary><div class='docblock'>Turns some type into the initial state of some <a href="../../../iced/struct.Application.html" title="struct cosmic::iced::Application"><code>Application</code></a>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoCam16Unclamped%3CWpParam,+T%3E-for-U" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#114-116">Source</a><a href="#impl-IntoCam16Unclamped%3CWpParam,+T%3E-for-U" class="anchor">§</a><h3 class="code-header">impl&lt;WpParam, T, U&gt; <a class="trait" href="../cam16/trait.IntoCam16Unclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::IntoCam16Unclamped">IntoCam16Unclamped</a>&lt;WpParam, T&gt; for U<div class="where">where
T: <a class="trait" href="../cam16/trait.Cam16FromUnclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::Cam16FromUnclamped">Cam16FromUnclamped</a>&lt;WpParam, U&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Scalar-2" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#118">Source</a><a href="#associatedtype.Scalar-2" class="anchor">§</a><h4 class="code-header">type <a href="../cam16/trait.IntoCam16Unclamped.html#associatedtype.Scalar" class="associatedtype">Scalar</a> = &lt;T as <a class="trait" href="../cam16/trait.Cam16FromUnclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::Cam16FromUnclamped">Cam16FromUnclamped</a>&lt;WpParam, U&gt;&gt;::<a class="associatedtype" href="../cam16/trait.Cam16FromUnclamped.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::cam16::Cam16FromUnclamped::Scalar">Scalar</a></h4></section></summary><div class='docblock'>The number type thats used in <code>parameters</code> when converting.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_cam16_unclamped" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#120">Source</a><a href="#method.into_cam16_unclamped" class="anchor">§</a><h4 class="code-header">fn <a href="../cam16/trait.IntoCam16Unclamped.html#tymethod.into_cam16_unclamped" class="fn">into_cam16_unclamped</a>(
self,
parameters: <a class="struct" href="../cam16/struct.BakedParameters.html" title="struct cosmic::cosmic_theme::palette::cam16::BakedParameters">BakedParameters</a>&lt;WpParam, &lt;U as <a class="trait" href="../cam16/trait.IntoCam16Unclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::IntoCam16Unclamped">IntoCam16Unclamped</a>&lt;WpParam, T&gt;&gt;::<a class="associatedtype" href="../cam16/trait.IntoCam16Unclamped.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::cam16::IntoCam16Unclamped::Scalar">Scalar</a>&gt;,
) -&gt; T</h4></section></summary><div class='docblock'>Converts <code>self</code> into <code>C</code>, using the provided parameters.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoColor%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/from_into_color.rs.html#129-131">Source</a><a href="#impl-IntoColor%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="../trait.IntoColor.html" title="trait cosmic::cosmic_theme::palette::IntoColor">IntoColor</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="../trait.FromColor.html" title="trait cosmic::cosmic_theme::palette::FromColor">FromColor</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_color" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/from_into_color.rs.html#134">Source</a><a href="#method.into_color" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.IntoColor.html#tymethod.into_color" class="fn">into_color</a>(self) -&gt; U</h4></section></summary><div class='docblock'>Convert into T with values clamped to the color defined bounds <a href="../trait.IntoColor.html#tymethod.into_color">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoColorUnclamped%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/from_into_color_unclamped.rs.html#95-97">Source</a><a href="#impl-IntoColorUnclamped%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="../convert/trait.IntoColorUnclamped.html" title="trait cosmic::cosmic_theme::palette::convert::IntoColorUnclamped">IntoColorUnclamped</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="../convert/trait.FromColorUnclamped.html" title="trait cosmic::cosmic_theme::palette::convert::FromColorUnclamped">FromColorUnclamped</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_color_unclamped" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/from_into_color_unclamped.rs.html#100">Source</a><a href="#method.into_color_unclamped" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.IntoColorUnclamped.html#tymethod.into_color_unclamped" class="fn">into_color_unclamped</a>(self) -&gt; U</h4></section></summary><div class='docblock'>Convert into T. The resulting color might be invalid in its color space <a href="../convert/trait.IntoColorUnclamped.html#tymethod.into_color_unclamped">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoStimulus%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/stimulus.rs.html#109">Source</a><a href="#impl-IntoStimulus%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../stimulus/trait.IntoStimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::IntoStimulus">IntoStimulus</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_stimulus" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/stimulus.rs.html#111">Source</a><a href="#method.into_stimulus" class="anchor">§</a><h4 class="code-header">fn <a href="../stimulus/trait.IntoStimulus.html#tymethod.into_stimulus" class="fn">into_stimulus</a>(self) -&gt; T</h4></section></summary><div class='docblock'>Converts <code>self</code> into <code>T</code>, while performing the appropriate scaling,
rounding and clamping.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-NoneValue-for-T" class="impl"><a href="#impl-NoneValue-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; NoneValue for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.NoneType" class="associatedtype trait-impl"><a href="#associatedtype.NoneType" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">NoneType</a> = T</h4></section><details class="toggle method-toggle" open><summary><section id="method.null_value" class="method trait-impl"><a href="#method.null_value" class="anchor">§</a><h4 class="code-header">fn <a class="fn">null_value</a>() -&gt; T</h4></section></summary><div class='docblock'>The none-equivalent value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Receiver-for-P" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/ops/deref.rs.html#380-382">Source</a><a href="#impl-Receiver-for-P" class="anchor">§</a><h3 class="code-header">impl&lt;P, T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Receiver.html" title="trait core::ops::deref::Receiver">Receiver</a> for P<div class="where">where
P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = T&gt; + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/ops/deref.rs.html#384">Source</a><a href="#associatedtype.Target-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Receiver.html#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>arbitrary_self_types</code>)</span></div></span><div class='docblock'>The target type on which the method may be called.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Rng-for-R" class="impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#357">Source</a><a href="#impl-Rng-for-R" class="anchor">§</a><h3 class="code-header">impl&lt;R&gt; <a class="trait" href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> for R<div class="where">where
R: <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html" title="trait rand_core::RngCore">RngCore</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.random" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#95-97">Source</a><a href="#method.random" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random" class="fn">random</a>&lt;T&gt;(&amp;mut self) -&gt; T<div class="where">where
<a class="struct" href="https://rust-random.github.io/rand/rand/distr/struct.StandardUniform.html" title="struct rand::distr::StandardUniform">StandardUniform</a>: <a class="trait" href="https://rust-random.github.io/rand/rand/distr/distribution/trait.Distribution.html" title="trait rand::distr::distribution::Distribution">Distribution</a>&lt;T&gt;,</div></h4></section></summary><div class='docblock'>Return a random value via the <a href="https://rust-random.github.io/rand/rand/distr/struct.StandardUniform.html" title="struct rand::distr::StandardUniform"><code>StandardUniform</code></a> distribution. <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.random_iter" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#120-123">Source</a><a href="#method.random_iter" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random_iter" class="fn">random_iter</a>&lt;T&gt;(self) -&gt; <a class="struct" href="https://rust-random.github.io/rand/rand/distr/distribution/struct.Iter.html" title="struct rand::distr::distribution::Iter">Iter</a>&lt;<a class="struct" href="https://rust-random.github.io/rand/rand/distr/struct.StandardUniform.html" title="struct rand::distr::StandardUniform">StandardUniform</a>, Self, T&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
<a class="struct" href="https://rust-random.github.io/rand/rand/distr/struct.StandardUniform.html" title="struct rand::distr::StandardUniform">StandardUniform</a>: <a class="trait" href="https://rust-random.github.io/rand/rand/distr/distribution/trait.Distribution.html" title="trait rand::distr::distribution::Distribution">Distribution</a>&lt;T&gt;,</div></h4></section></summary><div class='docblock'>Return an iterator over <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random" title="method rand::rng::Rng::random::random"><code>random</code></a> variates <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random_iter">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.random_range" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#161-164">Source</a><a href="#method.random_range" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random_range" class="fn">random_range</a>&lt;T, R&gt;(&amp;mut self, range: R) -&gt; T<div class="where">where
T: <a class="trait" href="https://rust-random.github.io/rand/rand/distr/uniform/trait.SampleUniform.html" title="trait rand::distr::uniform::SampleUniform">SampleUniform</a>,
R: <a class="trait" href="https://rust-random.github.io/rand/rand/distr/uniform/trait.SampleRange.html" title="trait rand::distr::uniform::SampleRange">SampleRange</a>&lt;T&gt;,</div></h4></section></summary><div class='docblock'>Generate a random value in the given range. <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random_range">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.random_bool" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#191">Source</a><a href="#method.random_bool" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random_bool" class="fn">random_bool</a>(&amp;mut self, p: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return a bool with a probability <code>p</code> of being true. <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random_bool">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.random_ratio" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#225">Source</a><a href="#method.random_ratio" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random_ratio" class="fn">random_ratio</a>(&amp;mut self, numerator: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, denominator: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return a bool with a probability of <code>numerator/denominator</code> of being
true. <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random_ratio">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sample" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#249">Source</a><a href="#method.sample" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.sample" class="fn">sample</a>&lt;T, D&gt;(&amp;mut self, distr: D) -&gt; T<div class="where">where
D: <a class="trait" href="https://rust-random.github.io/rand/rand/distr/distribution/trait.Distribution.html" title="trait rand::distr::distribution::Distribution">Distribution</a>&lt;T&gt;,</div></h4></section></summary><div class='docblock'>Sample a new value, using the given distribution. <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.sample">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sample_iter" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#286-289">Source</a><a href="#method.sample_iter" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.sample_iter" class="fn">sample_iter</a>&lt;T, D&gt;(self, distr: D) -&gt; <a class="struct" href="https://rust-random.github.io/rand/rand/distr/distribution/struct.Iter.html" title="struct rand::distr::distribution::Iter">Iter</a>&lt;D, Self, T&gt;<div class="where">where
D: <a class="trait" href="https://rust-random.github.io/rand/rand/distr/distribution/trait.Distribution.html" title="trait rand::distr::distribution::Distribution">Distribution</a>&lt;T&gt;,
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Create an iterator that generates values using the given distribution. <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.sample_iter">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.fill" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#314">Source</a><a href="#method.fill" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.fill" class="fn">fill</a>&lt;T&gt;(&amp;mut self, dest: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a>)<div class="where">where
T: <a class="trait" href="https://rust-random.github.io/rand/rand/rng/trait.Fill.html" title="trait rand::rng::Fill">Fill</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Fill any type implementing <a href="https://rust-random.github.io/rand/rand/rng/trait.Fill.html" title="trait rand::rng::Fill"><code>Fill</code></a> with random data <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.fill">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gen" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#324-326">Source</a><a href="#method.gen" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.gen" class="fn">gen</a>&lt;T&gt;(&amp;mut self) -&gt; T<div class="where">where
<a class="struct" href="https://rust-random.github.io/rand/rand/distr/struct.StandardUniform.html" title="struct rand::distr::StandardUniform">StandardUniform</a>: <a class="trait" href="https://rust-random.github.io/rand/rand/distr/distribution/trait.Distribution.html" title="trait rand::distr::distribution::Distribution">Distribution</a>&lt;T&gt;,</div></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.9.0: Renamed to <code>random</code> to avoid conflict with the new <code>gen</code> keyword in Rust 2024.</span></div></span><div class='docblock'>Alias for <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random" title="method rand::rng::Rng::random"><code>Rng::random</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.gen_range" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#334-337">Source</a><a href="#method.gen_range" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.gen_range" class="fn">gen_range</a>&lt;T, R&gt;(&amp;mut self, range: R) -&gt; T<div class="where">where
T: <a class="trait" href="https://rust-random.github.io/rand/rand/distr/uniform/trait.SampleUniform.html" title="trait rand::distr::uniform::SampleUniform">SampleUniform</a>,
R: <a class="trait" href="https://rust-random.github.io/rand/rand/distr/uniform/trait.SampleRange.html" title="trait rand::distr::uniform::SampleRange">SampleRange</a>&lt;T&gt;,</div></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.9.0: Renamed to <code>random_range</code></span></div></span><div class='docblock'>Alias for <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random_range" title="method rand::rng::Rng::random_range"><code>Rng::random_range</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.gen_bool" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#345">Source</a><a href="#method.gen_bool" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.gen_bool" class="fn">gen_bool</a>(&amp;mut self, p: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.9.0: Renamed to <code>random_bool</code></span></div></span><div class='docblock'>Alias for <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random_bool" title="method rand::rng::Rng::random_bool"><code>Rng::random_bool</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.gen_ratio" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rng.rs.html#352">Source</a><a href="#method.gen_ratio" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.gen_ratio" class="fn">gen_ratio</a>(&amp;mut self, numerator: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, denominator: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.9.0: Renamed to <code>random_ratio</code></span></div></span><div class='docblock'>Alias for <a href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html#method.random_ratio" title="method rand::rng::Rng::random_ratio"><code>Rng::random_ratio</code></a>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-RngCore-for-T" class="impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#158-160">Source</a><a href="#impl-RngCore-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html" title="trait rand_core::RngCore">RngCore</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a>,
&lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a>: <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html" title="trait rand_core::RngCore">RngCore</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.next_u32" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#163">Source</a><a href="#method.next_u32" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html#tymethod.next_u32" class="fn">next_u32</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Return the next random <code>u32</code>. <a href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html#tymethod.next_u32">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.next_u64" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#168">Source</a><a href="#method.next_u64" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html#tymethod.next_u64" class="fn">next_u64</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h4></section></summary><div class='docblock'>Return the next random <code>u64</code>. <a href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html#tymethod.next_u64">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.fill_bytes" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#173">Source</a><a href="#method.fill_bytes" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html#tymethod.fill_bytes" class="fn">fill_bytes</a>(&amp;mut self, dst: &amp;mut [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>])</h4></section></summary><div class='docblock'>Fill <code>dest</code> with random data. <a href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html#tymethod.fill_bytes">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.19.0/src/typenum/type_operators.rs.html#34">Source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/typenum/1.19.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-12" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/typenum/1.19.0/src/typenum/type_operators.rs.html#35">Source</a><a href="#associatedtype.Output-12" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.19.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToHex-for-T" class="impl"><a class="src rightside" href="https://docs.rs/hex/0.4.3/src/hex/lib.rs.html#137">Source</a><a href="#impl-ToHex-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="h
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.encode_hex" class="method trait-impl"><a class="src rightside" href="https://docs.rs/hex/0.4.3/src/hex/lib.rs.html#138">Source</a><a href="#method.encode_hex" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/hex/0.4.3/hex/trait.ToHex.html#tymethod.encode_hex" class="fn">encode_hex</a>&lt;U&gt;(&amp;self) -&gt; U<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.FromIterator.html" title="trait core::iter::traits::collect::FromIterator">FromIterator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>&gt;,</div></h4></section></summary><div class='docblock'>Encode the hex strict representing <code>self</code> into the result. Lower case
letters are used (e.g. <code>f9b4ca</code>)</div></details><details class="toggle method-toggle" open><summary><section id="method.encode_hex_upper" class="method trait-impl"><a class="src rightside" href="https://docs.rs/hex/0.4.3/src/hex/lib.rs.html#142">Source</a><a href="#method.encode_hex_upper" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/hex/0.4.3/hex/trait.ToHex.html#tymethod.encode_hex_upper" class="fn">encode_hex_upper</a>&lt;U&gt;(&amp;self) -&gt; U<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.FromIterator.html" title="trait core::iter::traits::collect::FromIterator">FromIterator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>&gt;,</div></h4></section></summary><div class='docblock'>Encode the hex strict representing <code>self</code> into the result. Upper case
letters are used (e.g. <code>F9B4CA</code>)</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#82-84">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#86">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#87">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&amp;self) -&gt; T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#91">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryComponentsInto%3CC%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_components_traits.rs.html#584-586">Source</a><a href="#impl-TryComponentsInto%3CC%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, C&gt; <a class="trait" href="../cast/trait.TryComponentsInto.html" title="trait cosmic::cosmic_theme::palette::cast::TryComponentsInto">TryComponentsInto</a>&lt;C&gt; for T<div class="where">where
C: <a class="trait" href="../cast/trait.TryFromComponents.html" title="trait cosmic::cosmic_theme::palette::cast::TryFromComponents">TryFromComponents</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-4" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_components_traits.rs.html#588">Source</a><a href="#associatedtype.Error-4" class="anchor">§</a><h4 class="code-header">type <a href="../cast/trait.TryComponentsInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;C as <a class="trait" href="../cast/trait.TryFromComponents.html" title="trait cosmic::cosmic_theme::palette::cast::TryFromComponents">TryFromComponents</a>&lt;T&gt;&gt;::<a class="associatedtype" href="../cast/trait.TryFromComponents.html#associatedtype.Error" title="type cosmic::cosmic_theme::palette::cast::TryFromComponents::Error">Error</a></h4></section></summary><div class='docblock'>The error for when <code>try_into_colors</code> fails to cast.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_components_into" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_components_traits.rs.html#591">Source</a><a href="#method.try_components_into" class="anchor">§</a><h4 class="code-header">fn <a href="../cast/trait.TryComponentsInto.html#tymethod.try_components_into" class="fn">try_components_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;C, &lt;T as <a class="trait" href="../cast/trait.TryComponentsInto.html" title="trait cosmic::cosmic_theme::palette::cast::TryComponentsInto">TryComponentsInto</a>&lt;C&gt;&gt;::<a class="associatedtype" href="../cast/trait.TryComponentsInto.html#associatedtype.Error" title="type cosmic::cosmic_theme::palette::cast::TryComponentsInto::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Try to cast this collection of color components into a collection of
colors. <a href="../cast/trait.TryComponentsInto.html#tymethod.try_components_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#833-835">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-3" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#837">Source</a><a href="#associatedtype.Error-3" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="../../../iced/enum.Never.html" title="enum cosmic::iced::Never">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from-2" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#840">Source</a><a href="#method.try_from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#817-819">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#821">Source</a><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#824">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoColor%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/try_from_into_color.rs.html#110-112">Source</a><a href="#impl-TryIntoColor%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="../convert/trait.TryIntoColor.html" title="trait cosmic::cosmic_theme::palette::convert::TryIntoColor">TryIntoColor</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="../convert/trait.TryFromColor.html" title="trait cosmic::cosmic_theme::palette::convert::TryFromColor">TryFromColor</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.try_into_color" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/try_from_into_color.rs.html#115">Source</a><a href="#method.try_into_color" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.TryIntoColor.html#tymethod.try_into_color" class="fn">try_into_color</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, <a class="struct" href="../convert/struct.OutOfBounds.html" title="struct cosmic::cosmic_theme::palette::convert::OutOfBounds">OutOfBounds</a>&lt;U&gt;&gt;</h4></section></summary><div class='docblock'>Convert into T, returning ok if the color is inside of its defined
range, otherwise an <code>OutOfBounds</code> error is returned which contains
the unclamped color. <a href="../convert/trait.TryIntoColor.html#tymethod.try_into_color">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryRngCore-for-R" class="impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#257">Source</a><a href="#impl-TryRngCore-for-R" class="anchor">§</a><h3 class="code-header">impl&lt;R&gt; <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html" title="trait rand_core::TryRngCore">TryRngCore</a> for R<div class="where">where
R: <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html" title="trait rand_core::RngCore">RngCore</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-5" class="associatedtype trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#258">Source</a><a href="#associatedtype.Error-5" class="anchor">§</a><h4 class="code-header">type <a href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="../../../iced/enum.Never.html" title="enum cosmic::iced::Never">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a RNG error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_next_u32" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#261">Source</a><a href="#method.try_next_u32" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html#tymethod.try_next_u32" class="fn">try_next_u32</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, &lt;R as <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html" title="trait rand_core::TryRngCore">TryRngCore</a>&gt;::<a class="associatedtype" href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html#associatedtype.Error" title="type rand_core::TryRngCore::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Return the next random <code>u32</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_next_u64" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#266">Source</a><a href="#method.try_next_u64" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html#tymethod.try_next_u64" class="fn">try_next_u64</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, &lt;R as <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html" title="trait rand_core::TryRngCore">TryRngCore</a>&gt;::<a class="associatedtype" href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html#associatedtype.Error" title="type rand_core::TryRngCore::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Return the next random <code>u64</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_fill_bytes" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#271">Source</a><a href="#method.try_fill_bytes" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html#tymethod.try_fill_bytes" class="fn">try_fill_bytes</a>(
&amp;mut self,
dst: &amp;mut [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, &lt;R as <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html" title="trait rand_core::TryRngCore">TryRngCore</a>&gt;::<a class="associatedtype" href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html#associatedtype.Error" title="type rand_core::TryRngCore::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Fill <code>dest</code> entirely with random data.</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrap_err" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#232-234">Source</a><a href="#method.unwrap_err" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html#method.unwrap_err" class="fn">unwrap_err</a>(self) -&gt; <a class="struct" href="https://rust-random.github.io/rand/rand_core/struct.UnwrapErr.html" title="struct rand_core::UnwrapErr">UnwrapErr</a>&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Wrap RNG with the <a href="https://rust-random.github.io/rand/rand_core/struct.UnwrapErr.html" title="struct rand_core::UnwrapErr"><code>UnwrapErr</code></a> wrapper.</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrap_mut" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#240">Source</a><a href="#method.unwrap_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html#method.unwrap_mut" class="fn">unwrap_mut</a>(&amp;mut self) -&gt; <a class="struct" href="https://rust-random.github.io/rand/rand_core/struct.UnwrapMut.html" title="struct rand_core::UnwrapMut">UnwrapMut</a>&lt;'_, Self&gt;</h4></section></summary><div class='docblock'>Wrap RNG with the <a href="https://rust-random.github.io/rand/rand_core/struct.UnwrapMut.html" title="struct rand_core::UnwrapMut"><code>UnwrapMut</code></a> wrapper.</div></details><details class="toggle method-toggle" open><summary><section id="method.read_adapter" class="method trait-impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#246-248">Source</a><a href="#method.read_adapter" class="anchor">§</a><h4 class="code-header">fn <a href="https://rust-random.github.io/rand/rand_core/trait.TryRngCore.html#method.read_adapter" class="fn">read_adapter</a>(&amp;mut self) -&gt; <a class="struct" href="https://rust-random.github.io/rand/rand_core/struct.RngReadAdapter.html" title="struct rand_core::RngReadAdapter">RngReadAdapter</a>&lt;'_, Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert an <a href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html" title="trait rand_core::RngCore"><code>RngCore</code></a> to a <a href="https://rust-random.github.io/rand/rand_core/struct.RngReadAdapter.html" title="struct rand_core::RngReadAdapter"><code>RngReadAdapter</code></a>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-UintsFrom%3CC%3E-for-U" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_uints_traits.rs.html#325-327">Source</a><a href="#impl-UintsFrom%3CC%3E-for-U" class="anchor">§</a><h3 class="code-header">impl&lt;C, U&gt; <a class="trait" href="../cast/trait.UintsFrom.html" title="trait cosmic::cosmic_theme::palette::cast::UintsFrom">UintsFrom</a>&lt;C&gt; for U<div class="where">where
C: <a class="trait" href="../cast/trait.IntoUints.html" title="trait cosmic::cosmic_theme::palette::cast::IntoUints">IntoUints</a>&lt;U&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.uints_from" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_uints_traits.rs.html#330">Source</a><a href="#method.uints_from" class="anchor">§</a><h4 class="code-header">fn <a href="../cast/trait.UintsFrom.html#tymethod.uints_from" class="fn">uints_from</a>(colors: C) -&gt; U</h4></section></summary><div class='docblock'>Cast a collection of colors into a collection of unsigned integers.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-UintsInto%3CC%3E-for-U" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_uints_traits.rs.html#401-403">Source</a><a href="#impl-UintsInto%3CC%3E-for-U" class="anchor">§</a><h3 class="code-header">impl&lt;C, U&gt; <a class="trait" href="../cast/trait.UintsInto.html" title="trait cosmic::cosmic_theme::palette::cast::UintsInto">UintsInto</a>&lt;C&gt; for U<div class="where">where
C: <a class="trait" href="../cast/trait.FromUints.html" title="trait cosmic::cosmic_theme::palette::cast::FromUints">FromUints</a>&lt;U&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.uints_into" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_uints_traits.rs.html#406">Source</a><a href="#method.uints_into" class="anchor">§</a><h4 class="code-header">fn <a href="../cast/trait.UintsInto.html#tymethod.uints_into" class="fn">uints_into</a>(self) -&gt; C</h4></section></summary><div class='docblock'>Cast this collection of unsigned integers into a collection of colors.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;V, T&gt; VZip&lt;V&gt; for T<div class="where">where
V: MultiLane&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -&gt; V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a>&lt;S&gt;(self, subscriber: S) -&gt; WithDispatch&lt;Self&gt; <a href="#" class="tooltip" data-notable-ty="WithDispatch&lt;Self&gt;"></a><div class="where">where
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;Dispatch&gt;,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -&gt; WithDispatch&lt;Self&gt; <a href="#" class="tooltip" data-notable-ty="WithDispatch&lt;Self&gt;"></a></h4></section></summary><div class='docblock'>Attaches the current <a href="dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details><section id="impl-CryptoRng-for-T" class="impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#206">Source</a><a href="#impl-CryptoRng-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.CryptoRng.html" title="trait rand_core::CryptoRng">CryptoRng</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a>,
&lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a>: <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.CryptoRng.html" title="trait rand_core::CryptoRng">CryptoRng</a>,</div></h3></section><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde_core/1.0.228/src/serde_core/de/mod.rs.html#633">Source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.DeserializeOwned.html" title="trait serde_core::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html" title="trait serde_core::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section><section id="impl-MaybeClone-for-T" class="impl"><a href="#impl-MaybeClone-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../../iced/daemon/program/message/trait.MaybeClone.html" title="trait cosmic::iced::daemon::program::message::MaybeClone">MaybeClone</a> for T</h3></section><section id="impl-MaybeDebug-for-T" class="impl"><a href="#impl-MaybeDebug-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../../iced/daemon/program/message/trait.MaybeDebug.html" title="trait cosmic::iced::daemon::program::message::MaybeDebug">MaybeDebug</a> for T</h3></section><section id="impl-MaybeSend-for-T" class="impl"><a href="#impl-MaybeSend-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../../iced/daemon/program/graphics/futures/trait.MaybeSend.html" title="trait cosmic::iced::daemon::program::graphics::futures::MaybeSend">MaybeSend</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-MaybeSend-for-T-1" class="impl"><a href="#impl-MaybeSend-for-T-1" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; MaybeSend for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-MaybeSync-for-T" class="impl"><a href="#impl-MaybeSync-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../../iced/daemon/program/graphics/futures/trait.MaybeSync.html" title="trait cosmic::iced::daemon::program::graphics::futures::MaybeSync">MaybeSync</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-MaybeSync-for-T-1" class="impl"><a href="#impl-MaybeSync-for-T-1" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; MaybeSync for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-TryCryptoRng-for-R" class="impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/lib.rs.html#293">Source</a><a href="#impl-TryCryptoRng-for-R" class="anchor">§</a><h3 class="code-header">impl&lt;R&gt; <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.TryCryptoRng.html" title="trait rand_core::TryCryptoRng">TryCryptoRng</a> for R<div class="where">where
R: <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.CryptoRng.html" title="trait rand_core::CryptoRng">CryptoRng</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></div><script type="text/json" id="notable-traits-data">{"Instrumented<Self>":"<h3>Notable traits for <code>Instrumented&lt;T&gt;</code></h3><pre><code><div class=\"where\">impl&lt;T&gt; <a class=\"trait\" href=\"../../../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a> for Instrumented&lt;T&gt;<div class=\"where\">where\n T: <a class=\"trait\" href=\"../../../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a>,</div></div><div class=\"where\"> type <a href=\"../../../iced/daemon/program/graphics/futures/futures/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = &lt;T as <a class=\"trait\" href=\"../../../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a>&gt;::<a class=\"associatedtype\" href=\"../../../iced/daemon/program/graphics/futures/futures/trait.Future.html#associatedtype.Output\" title=\"type cosmic::iced::daemon::program::graphics::futures::futures::Future::Output\">Output</a>;</div>","WithDispatch<Self>":"<h3>Notable traits for <code>WithDispatch&lt;T&gt;</code></h3><pre><code><div class=\"where\">impl&lt;T&gt; <a class=\"trait\" href=\"../../../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a> for WithDispatch&lt;T&gt;<div class=\"where\">where\n T: <a class=\"trait\" href=\"../../../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a>,</div></div><div class=\"where\"> type <a href=\"../../../iced/daemon/program/graphics/futures/futures/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = &lt;T as <a class=\"trait\" href=\"../../../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a>&gt;::<a class=\"associatedtype\" href=\"../../../iced/daemon/program/graphics/futures/futures/trait.Future.html#associatedtype.Output\" title=\"type cosmic::iced::daemon::program::graphics::futures::futures::Future::Output\">Output</a>;</div>"}</script></section></div></main></body></html>