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

44 lines
No EOL
23 KiB
HTML

<!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="Change the hue of a color to a specific value without moving."><title>SetHue in cosmic::cosmic_theme::palette - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">SetHue</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.set_hue" title="set_hue">set_hue</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-SetHue%3CH%3E-for-%5BT%5D" title="[T]">[T]</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cosmic_<wbr>theme::<wbr>palette</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">cosmic_theme</a>::<wbr><a href="index.html">palette</a></div><h1>Trait <span class="trait">SetHue</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="https://docs.rs/palette/0.7.6/src/palette/lib.rs.html#960">Source</a> </span></div><pre class="rust item-decl"><code>pub trait SetHue&lt;H&gt; {
// Required method
fn <a href="#tymethod.set_hue" class="fn">set_hue</a>(&amp;mut self, hue: H);
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Change the hue of a color to a specific value without moving.</p>
<p>See also <a href="trait.WithHue.html" title="trait cosmic::cosmic_theme::palette::WithHue"><code>WithHue</code></a>, <a href="trait.GetHue.html" title="trait cosmic::cosmic_theme::palette::GetHue"><code>GetHue</code></a>, <a href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue"><code>ShiftHue</code></a> and <a href="trait.ShiftHueAssign.html" title="trait cosmic::cosmic_theme::palette::ShiftHueAssign"><code>ShiftHueAssign</code></a>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>palette::{Hsl, SetHue};
<span class="kw">let </span><span class="kw-2">mut </span>color = Hsl::new_srgb(<span class="number">120.0</span>, <span class="number">1.0</span>, <span class="number">0.5</span>);
color.set_hue(<span class="number">240.0</span>);
<span class="macro">assert_eq!</span>(color, Hsl::new_srgb(<span class="number">240.0</span>, <span class="number">1.0</span>, <span class="number">0.5</span>));</code></pre></div>
<p><code>SetHue</code> is also implemented for <code>[T]</code>:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>palette::{Hsl, SetHue};
<span class="kw">let </span><span class="kw-2">mut </span>my_vec = <span class="macro">vec!</span>[Hsl::new_srgb(<span class="number">104.0</span>, <span class="number">0.3</span>, <span class="number">0.8</span>), Hsl::new_srgb(<span class="number">113.0</span>, <span class="number">0.5</span>, <span class="number">0.8</span>)];
<span class="kw">let </span><span class="kw-2">mut </span>my_array = [Hsl::new_srgb(<span class="number">104.0</span>, <span class="number">0.3</span>, <span class="number">0.8</span>), Hsl::new_srgb(<span class="number">113.0</span>, <span class="number">0.5</span>, <span class="number">0.8</span>)];
<span class="kw">let </span><span class="kw-2">mut </span>my_slice = <span class="kw-2">&amp;mut </span>[Hsl::new_srgb(<span class="number">104.0</span>, <span class="number">0.3</span>, <span class="number">0.8</span>), Hsl::new_srgb(<span class="number">112.0</span>, <span class="number">0.5</span>, <span class="number">0.8</span>)];
my_vec.set_hue(<span class="number">120.0</span>);
my_array.set_hue(<span class="number">120.0</span>);
my_slice.set_hue(<span class="number">120.0</span>);</code></pre></div>
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.set_hue" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lib.rs.html#962">Source</a><h4 class="code-header">fn <a href="#tymethod.set_hue" class="fn">set_hue</a>(&amp;mut self, hue: H)</h4></section></summary><div class="docblock"><p>Change the hue to a specific value.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-SetHue%3CH%3E-for-%5BT%5D" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lib.rs.html#965-968">Source</a><a href="#impl-SetHue%3CH%3E-for-%5BT%5D" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[T]</a><div class="where">where
T: <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt;,
H: <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"><section id="method.set_hue" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lib.rs.html#970">Source</a><a href="#method.set_hue" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.set_hue" class="fn">set_hue</a>(&amp;mut self, hue: H)</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-SetHue%3CH%3E-for-Alpha%3CC,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha/alpha.rs.html#328-330">Source</a><a href="#impl-SetHue%3CH%3E-for-Alpha%3CC,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="struct.Alpha.html" title="struct cosmic::cosmic_theme::palette::Alpha">Alpha</a>&lt;C, T&gt;<div class="where">where
C: <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Hsl%3CS,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsl.rs.html#464">Source</a><a href="#impl-SetHue%3CH%3E-for-Hsl%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="struct.Hsl.html" title="struct cosmic::cosmic_theme::palette::Hsl">Hsl</a>&lt;S, T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="struct.RgbHue.html" title="struct cosmic::cosmic_theme::palette::RgbHue">RgbHue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Hsv%3CS,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsv.rs.html#475">Source</a><a href="#impl-SetHue%3CH%3E-for-Hsv%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="struct.Hsv.html" title="struct cosmic::cosmic_theme::palette::Hsv">Hsv</a>&lt;S, T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="struct.RgbHue.html" title="struct cosmic::cosmic_theme::palette::RgbHue">RgbHue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Hwb%3CS,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hwb.rs.html#296">Source</a><a href="#impl-SetHue%3CH%3E-for-Hwb%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="struct.Hwb.html" title="struct cosmic::cosmic_theme::palette::Hwb">Hwb</a>&lt;S, T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="struct.RgbHue.html" title="struct cosmic::cosmic_theme::palette::RgbHue">RgbHue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Cam16Jch%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#554-567">Source</a><a href="#impl-SetHue%3CH%3E-for-Cam16Jch%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="cam16/struct.Cam16Jch.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jch">Cam16Jch</a>&lt;T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="hues/struct.Cam16Hue.html" title="struct cosmic::cosmic_theme::palette::hues::Cam16Hue">Cam16Hue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Cam16Jmh%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#573-598">Source</a><a href="#impl-SetHue%3CH%3E-for-Cam16Jmh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="cam16/struct.Cam16Jmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jmh">Cam16Jmh</a>&lt;T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="hues/struct.Cam16Hue.html" title="struct cosmic::cosmic_theme::palette::hues::Cam16Hue">Cam16Hue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Cam16Jsh%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#604-618">Source</a><a href="#impl-SetHue%3CH%3E-for-Cam16Jsh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="cam16/struct.Cam16Jsh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Jsh">Cam16Jsh</a>&lt;T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="hues/struct.Cam16Hue.html" title="struct cosmic::cosmic_theme::palette::hues::Cam16Hue">Cam16Hue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Cam16Qch%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#624-637">Source</a><a href="#impl-SetHue%3CH%3E-for-Cam16Qch%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="cam16/struct.Cam16Qch.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qch">Cam16Qch</a>&lt;T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="hues/struct.Cam16Hue.html" title="struct cosmic::cosmic_theme::palette::hues::Cam16Hue">Cam16Hue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Cam16Qmh%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#643-657">Source</a><a href="#impl-SetHue%3CH%3E-for-Cam16Qmh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="cam16/struct.Cam16Qmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qmh">Cam16Qmh</a>&lt;T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="hues/struct.Cam16Hue.html" title="struct cosmic::cosmic_theme::palette::hues::Cam16Hue">Cam16Hue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Cam16Qsh%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#663-677">Source</a><a href="#impl-SetHue%3CH%3E-for-Cam16Qsh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="cam16/struct.Cam16Qsh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16Qsh">Cam16Qsh</a>&lt;T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="hues/struct.Cam16Hue.html" title="struct cosmic::cosmic_theme::palette::hues::Cam16Hue">Cam16Hue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Cam16UcsJmh%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/ucs_jmh.rs.html#276">Source</a><a href="#impl-SetHue%3CH%3E-for-Cam16UcsJmh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="cam16/struct.Cam16UcsJmh.html" title="struct cosmic::cosmic_theme::palette::cam16::Cam16UcsJmh">Cam16UcsJmh</a>&lt;T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="hues/struct.Cam16Hue.html" title="struct cosmic::cosmic_theme::palette::hues::Cam16Hue">Cam16Hue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Okhsl%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhsl/properties.rs.html#34">Source</a><a href="#impl-SetHue%3CH%3E-for-Okhsl%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="struct.Okhsl.html" title="struct cosmic::cosmic_theme::palette::Okhsl">Okhsl</a>&lt;T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="struct.OklabHue.html" title="struct cosmic::cosmic_theme::palette::OklabHue">OklabHue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Okhsv%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhsv/properties.rs.html#29">Source</a><a href="#impl-SetHue%3CH%3E-for-Okhsv%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="struct.Okhsv.html" title="struct cosmic::cosmic_theme::palette::Okhsv">Okhsv</a>&lt;T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="struct.OklabHue.html" title="struct cosmic::cosmic_theme::palette::OklabHue">OklabHue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Okhwb%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhwb/properties.rs.html#20">Source</a><a href="#impl-SetHue%3CH%3E-for-Okhwb%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="struct.Okhwb.html" title="struct cosmic::cosmic_theme::palette::Okhwb">Okhwb</a>&lt;T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="struct.OklabHue.html" title="struct cosmic::cosmic_theme::palette::OklabHue">OklabHue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Oklch%3CT%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklch/properties.rs.html#29">Source</a><a href="#impl-SetHue%3CH%3E-for-Oklch%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="struct.Oklch.html" title="struct cosmic::cosmic_theme::palette::Oklch">Oklch</a>&lt;T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="struct.OklabHue.html" title="struct cosmic::cosmic_theme::palette::OklabHue">OklabHue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Hsluv%3CWp,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsluv.rs.html#194">Source</a><a href="#impl-SetHue%3CH%3E-for-Hsluv%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="struct.Hsluv.html" title="struct cosmic::cosmic_theme::palette::Hsluv">Hsluv</a>&lt;Wp, T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="struct.LuvHue.html" title="struct cosmic::cosmic_theme::palette::LuvHue">LuvHue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Lch%3CWp,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lch.rs.html#196">Source</a><a href="#impl-SetHue%3CH%3E-for-Lch%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="struct.Lch.html" title="struct cosmic::cosmic_theme::palette::Lch">Lch</a>&lt;Wp, T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="struct.LabHue.html" title="struct cosmic::cosmic_theme::palette::LabHue">LabHue</a>&lt;T&gt;&gt;,</div></h3></section><section id="impl-SetHue%3CH%3E-for-Lchuv%3CWp,+T%3E" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lchuv.rs.html#204">Source</a><a href="#impl-SetHue%3CH%3E-for-Lchuv%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T, H&gt; <a class="trait" href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue">SetHue</a>&lt;H&gt; for <a class="struct" href="struct.Lchuv.html" title="struct cosmic::cosmic_theme::palette::Lchuv">Lchuv</a>&lt;Wp, T&gt;<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="struct.LuvHue.html" title="struct cosmic::cosmic_theme::palette::LuvHue">LuvHue</a>&lt;T&gt;&gt;,</div></h3></section></div><script src="../../../trait.impl/palette/trait.SetHue.js" data-ignore-extern-crates="palette,std" async></script></section></div></main></body></html>