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

34 lines
No EOL
28 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="Operator for increasing or decreasing the hue by an amount."><title>ShiftHue 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="#">Shift<wbr>Hue</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Scalar" title="Scalar">Scalar</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.shift_hue" title="shift_hue">shift_hue</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cosmic_<wbr>theme::<wbr>palette</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">cosmic_theme</a>::<wbr><a href="index.html">palette</a></div><h1>Trait <span class="trait">ShiftHue</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#988">Source</a> </span></div><pre class="rust item-decl"><code>pub trait ShiftHue {
type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a>;
// Required method
fn <a href="#tymethod.shift_hue" class="fn">shift_hue</a>(self, amount: Self::<a class="associatedtype" href="trait.ShiftHue.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::ShiftHue::Scalar">Scalar</a>) -&gt; Self;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Operator for increasing or decreasing the hue by an amount.</p>
<p>See also <a href="trait.ShiftHueAssign.html" title="trait cosmic::cosmic_theme::palette::ShiftHueAssign"><code>ShiftHueAssign</code></a>, <a href="trait.WithHue.html" title="trait cosmic::cosmic_theme::palette::WithHue"><code>WithHue</code></a>, <a href="trait.SetHue.html" title="trait cosmic::cosmic_theme::palette::SetHue"><code>SetHue</code></a> and <a href="trait.GetHue.html" title="trait cosmic::cosmic_theme::palette::GetHue"><code>GetHue</code></a>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>palette::{Hsl, ShiftHue};
<span class="kw">let </span>green = Hsl::new_srgb(<span class="number">120.0</span>, <span class="number">1.0</span>, <span class="number">0.5</span>);
<span class="kw">let </span>blue = green.shift_hue(<span class="number">120.0</span>);
<span class="macro">assert_eq!</span>(blue, Hsl::new_srgb(<span class="number">240.0</span>, <span class="number">1.0</span>, <span class="number">0.5</span>));</code></pre></div>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Scalar" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lib.rs.html#990">Source</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a></h4></section></summary><div class="docblock"><p>The type of the hue modifier.</p>
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.shift_hue" class="method"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lib.rs.html#994">Source</a><h4 class="code-header">fn <a href="#tymethod.shift_hue" class="fn">shift_hue</a>(self, amount: Self::<a class="associatedtype" href="trait.ShiftHue.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::ShiftHue::Scalar">Scalar</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Return a copy of <code>self</code> with the hue shifted by <code>amount</code>.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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#338-340">Source</a><a href="#impl-ShiftHue-for-Alpha%3CC,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-1" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/alpha/alpha.rs.html#342">Source</a><a href="#associatedtype.Scalar-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = &lt;C as <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a>&gt;::<a class="associatedtype" href="trait.ShiftHue.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::ShiftHue::Scalar">Scalar</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Hsl%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-2" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsl.rs.html#464">Source</a><a href="#associatedtype.Scalar-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Hsv%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-3" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsv.rs.html#475">Source</a><a href="#associatedtype.Scalar-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Hwb%3CS,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-4" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hwb.rs.html#296">Source</a><a href="#associatedtype.Scalar-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Cam16Jch%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-5" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#554-567">Source</a><a href="#associatedtype.Scalar-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Cam16Jmh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-6" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#573-598">Source</a><a href="#associatedtype.Scalar-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Cam16Jsh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-7" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#604-618">Source</a><a href="#associatedtype.Scalar-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Cam16Qch%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-8" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#624-637">Source</a><a href="#associatedtype.Scalar-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Cam16Qmh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-9" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#643-657">Source</a><a href="#associatedtype.Scalar-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Cam16Qsh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-10" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16/partial.rs.html#663-677">Source</a><a href="#associatedtype.Scalar-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Cam16UcsJmh%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-11" class="associatedtype trait-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="#associatedtype.Scalar-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Okhsl%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> for <a class="struct" href="struct.Okhsl.html" title="struct cosmic::cosmic_theme::palette::Okhsl">Okhsl</a>&lt;T&gt;<div class="where">where
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-12" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhsl/properties.rs.html#34">Source</a><a href="#associatedtype.Scalar-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Okhsv%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> for <a class="struct" href="struct.Okhsv.html" title="struct cosmic::cosmic_theme::palette::Okhsv">Okhsv</a>&lt;T&gt;<div class="where">where
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-13" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhsv/properties.rs.html#29">Source</a><a href="#associatedtype.Scalar-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Okhwb%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> for <a class="struct" href="struct.Okhwb.html" title="struct cosmic::cosmic_theme::palette::Okhwb">Okhwb</a>&lt;T&gt;<div class="where">where
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-14" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/okhwb/properties.rs.html#20">Source</a><a href="#associatedtype.Scalar-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Oklch%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> for <a class="struct" href="struct.Oklch.html" title="struct cosmic::cosmic_theme::palette::Oklch">Oklch</a>&lt;T&gt;<div class="where">where
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-15" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/oklch/properties.rs.html#29">Source</a><a href="#associatedtype.Scalar-15" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Hsluv%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-16" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/hsluv.rs.html#194">Source</a><a href="#associatedtype.Scalar-16" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Lch%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-17" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lch.rs.html#196">Source</a><a href="#associatedtype.Scalar-17" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ShiftHue-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-ShiftHue-for-Lchuv%3CWp,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Wp, T&gt; <a class="trait" href="trait.ShiftHue.html" title="trait cosmic::cosmic_theme::palette::ShiftHue">ShiftHue</a> 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
T: <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 = T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Scalar-18" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/lchuv.rs.html#204">Source</a><a href="#associatedtype.Scalar-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = T</h4></section></div></details></div><script src="../../../trait.impl/palette/trait.ShiftHue.js" data-ignore-extern-crates="palette" async></script></section></div></main></body></html>