mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Deploying to gh-pages from @ maplibre/maplibre-rs@1461832df3 🚀
This commit is contained in:
parent
c1dcf19c85
commit
6b5ce8e715
@ -158,9 +158,9 @@
|
|||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CAlpha%3CYPrimeCbCr%3CComponentTy%3E%3E%3E" class="impl has-srclink"><a href="#impl-From%3CAlpha%3CYPrimeCbCr%3CComponentTy%3E%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.YPrimeCbCr.html" title="struct maplibre::style::YPrimeCbCr">YPrimeCbCr</a><ComponentTy>>> for <a class="struct" href="struct.YPrimeCbCr.html" title="struct maplibre::style::YPrimeCbCr">YPrimeCbCr</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-7" class="method trait-impl has-srclink"><a href="#method.from-7" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(col_alpha: <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.YPrimeCbCr.html" title="struct maplibre::style::YPrimeCbCr">YPrimeCbCr</a><ComponentTy>>) -> <a class="struct" href="struct.YPrimeCbCr.html" title="struct maplibre::style::YPrimeCbCr">YPrimeCbCr</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CAlpha%3CYPrimeCbCr%3CComponentTy%3E%3E%3E" class="impl has-srclink"><a href="#impl-From%3CAlpha%3CYPrimeCbCr%3CComponentTy%3E%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.YPrimeCbCr.html" title="struct maplibre::style::YPrimeCbCr">YPrimeCbCr</a><ComponentTy>>> for <a class="struct" href="struct.YPrimeCbCr.html" title="struct maplibre::style::YPrimeCbCr">YPrimeCbCr</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-7" class="method trait-impl has-srclink"><a href="#method.from-7" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(col_alpha: <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.YPrimeCbCr.html" title="struct maplibre::style::YPrimeCbCr">YPrimeCbCr</a><ComponentTy>>) -> <a class="struct" href="struct.YPrimeCbCr.html" title="struct maplibre::style::YPrimeCbCr">YPrimeCbCr</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CAlpha%3CYPrimePbPr%3CComponentTy%3E%3E%3E" class="impl has-srclink"><a href="#impl-From%3CAlpha%3CYPrimePbPr%3CComponentTy%3E%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.YPrimePbPr.html" title="struct maplibre::style::YPrimePbPr">YPrimePbPr</a><ComponentTy>>> for <a class="struct" href="struct.YPrimePbPr.html" title="struct maplibre::style::YPrimePbPr">YPrimePbPr</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-26" class="method trait-impl has-srclink"><a href="#method.from-26" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(col_alpha: <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.YPrimePbPr.html" title="struct maplibre::style::YPrimePbPr">YPrimePbPr</a><ComponentTy>>) -> <a class="struct" href="struct.YPrimePbPr.html" title="struct maplibre::style::YPrimePbPr">YPrimePbPr</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CAlpha%3CYPrimePbPr%3CComponentTy%3E%3E%3E" class="impl has-srclink"><a href="#impl-From%3CAlpha%3CYPrimePbPr%3CComponentTy%3E%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.YPrimePbPr.html" title="struct maplibre::style::YPrimePbPr">YPrimePbPr</a><ComponentTy>>> for <a class="struct" href="struct.YPrimePbPr.html" title="struct maplibre::style::YPrimePbPr">YPrimePbPr</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-26" class="method trait-impl has-srclink"><a href="#method.from-26" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(col_alpha: <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.YPrimePbPr.html" title="struct maplibre::style::YPrimePbPr">YPrimePbPr</a><ComponentTy>>) -> <a class="struct" href="struct.YPrimePbPr.html" title="struct maplibre::style::YPrimePbPr">YPrimePbPr</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CAlpha%3CYuv%3CComponentTy%3E%3E%3E" class="impl has-srclink"><a href="#impl-From%3CAlpha%3CYuv%3CComponentTy%3E%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.Yuv.html" title="struct maplibre::style::Yuv">Yuv</a><ComponentTy>>> for <a class="struct" href="struct.Yuv.html" title="struct maplibre::style::Yuv">Yuv</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-10" class="method trait-impl has-srclink"><a href="#method.from-10" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(col_alpha: <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.Yuv.html" title="struct maplibre::style::Yuv">Yuv</a><ComponentTy>>) -> <a class="struct" href="struct.Yuv.html" title="struct maplibre::style::Yuv">Yuv</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CAlpha%3CYuv%3CComponentTy%3E%3E%3E" class="impl has-srclink"><a href="#impl-From%3CAlpha%3CYuv%3CComponentTy%3E%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.Yuv.html" title="struct maplibre::style::Yuv">Yuv</a><ComponentTy>>> for <a class="struct" href="struct.Yuv.html" title="struct maplibre::style::Yuv">Yuv</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-10" class="method trait-impl has-srclink"><a href="#method.from-10" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(col_alpha: <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.Yuv.html" title="struct maplibre::style::Yuv">Yuv</a><ComponentTy>>) -> <a class="struct" href="struct.Yuv.html" title="struct maplibre::style::Yuv">Yuv</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E" class="impl has-srclink"><a href="#impl-From%3CColor%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f64.html">f64</a>>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-72" class="method trait-impl has-srclink"><a href="#method.from-72" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f64.html">f64</a>>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E" class="impl has-srclink"><a href="#impl-From%3CColor%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.u8.html">u8</a>>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-72" class="method trait-impl has-srclink"><a href="#method.from-72" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.u8.html">u8</a>>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E-1" class="impl has-srclink"><a href="#impl-From%3CColor%3E-1" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f32.html">f32</a>>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-73" class="method trait-impl has-srclink"><a href="#method.from-73" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f32.html">f32</a>>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E-1" class="impl has-srclink"><a href="#impl-From%3CColor%3E-1" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f64.html">f64</a>>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-73" class="method trait-impl has-srclink"><a href="#method.from-73" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f64.html">f64</a>>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E-2" class="impl has-srclink"><a href="#impl-From%3CColor%3E-2" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.u8.html">u8</a>>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-74" class="method trait-impl has-srclink"><a href="#method.from-74" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.u8.html">u8</a>>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E-2" class="impl has-srclink"><a href="#impl-From%3CColor%3E-2" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f32.html">f32</a>>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-74" class="method trait-impl has-srclink"><a href="#method.from-74" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f32.html">f32</a>>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Hash" class="impl has-srclink"><a href="#impl-Hash" class="anchor"></a><h3 class="code-header in-band">impl<ColorTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><ColorTy> <span class="where fmt-newline">where<br> ColorTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="trait.ColorType.html" title="trait maplibre::style::ColorType">ColorType</a>,<br> <ColorTy as <a class="trait" href="trait.ColorType.html" title="trait maplibre::style::ColorType">ColorType</a>>::<a class="associatedtype" href="trait.ColorType.html#associatedtype.ComponentTy" title="type maplibre::style::ColorType::ComponentTy">ComponentTy</a>: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl has-srclink"><a href="#method.hash" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#tymethod.hash" class="fnname">hash</a><__H>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.reference.html">&mut </a>__H) <span class="where fmt-newline">where<br> __H: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></h4></section></summary><div class='docblock'><p>Feeds this value into the given <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Hash" class="impl has-srclink"><a href="#impl-Hash" class="anchor"></a><h3 class="code-header in-band">impl<ColorTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><ColorTy> <span class="where fmt-newline">where<br> ColorTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="trait.ColorType.html" title="trait maplibre::style::ColorType">ColorType</a>,<br> <ColorTy as <a class="trait" href="trait.ColorType.html" title="trait maplibre::style::ColorType">ColorType</a>>::<a class="associatedtype" href="trait.ColorType.html#associatedtype.ComponentTy" title="type maplibre::style::ColorType::ComponentTy">ComponentTy</a>: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl has-srclink"><a href="#method.hash" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#tymethod.hash" class="fnname">hash</a><__H>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.reference.html">&mut </a>__H) <span class="where fmt-newline">where<br> __H: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></h4></section></summary><div class='docblock'><p>Feeds this value into the given <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.1/src/core/hash/mod.rs.html#237-239">source</a></span><a href="#method.hash_slice" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#method.hash_slice" class="fnname">hash_slice</a><H>(data: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.slice.html">&[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.reference.html">&mut </a>H) <span class="where fmt-newline">where<br> H: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></h4></section></summary><div class='docblock'><p>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.1/src/core/hash/mod.rs.html#237-239">source</a></span><a href="#method.hash_slice" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#method.hash_slice" class="fnname">hash_slice</a><H>(data: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.slice.html">&[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.reference.html">&mut </a>H) <span class="where fmt-newline">where<br> H: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></h4></section></summary><div class='docblock'><p>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Into%3C%5BComponentTy%3B%202%5D%3E" class="impl has-srclink"><a href="#impl-Into%3C%5BComponentTy%3B%202%5D%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">[</a>ComponentTy<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">; 2]</a>> for <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.GenericColor1.html" title="struct maplibre::style::GenericColor1">GenericColor1</a><ComponentTy>> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><a href="#method.into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">[</a>ComponentTy<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">; 2]</a></h4></section></summary><div class='docblock'><p>Converts this type into the (usually inferred) input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Into%3C%5BComponentTy%3B%202%5D%3E" class="impl has-srclink"><a href="#impl-Into%3C%5BComponentTy%3B%202%5D%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">[</a>ComponentTy<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">; 2]</a>> for <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.GenericColor1.html" title="struct maplibre::style::GenericColor1">GenericColor1</a><ComponentTy>> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><a href="#method.into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">[</a>ComponentTy<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">; 2]</a></h4></section></summary><div class='docblock'><p>Converts this type into the (usually inferred) input type.</p>
|
||||||
|
|||||||
@ -22,9 +22,9 @@ sRGB OETF, aka “gamma compensation”, applied.</p>
|
|||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-ColorType" class="impl has-srclink"><a href="#impl-ColorType" class="anchor"></a><h3 class="code-header in-band">impl<CTy> <a class="trait" href="trait.ColorType.html" title="trait maplibre::style::ColorType">ColorType</a> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><CTy> <span class="where fmt-newline">where<br> CTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><section id="associatedtype.ComponentTy" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.ComponentTy" class="anchor"></a><h4 class="code-header">type <a href="trait.ColorType.html#associatedtype.ComponentTy" class="associatedtype">ComponentTy</a> = CTy</h4></section><section id="associatedconstant.SPACE" class="associatedconstant trait-impl has-srclink"><a href="#associatedconstant.SPACE" class="anchor"></a><h4 class="code-header">const <a href="trait.ColorType.html#associatedconstant.SPACE" class="constant">SPACE</a>: <a class="enum" href="enum.Spaces.html" title="enum maplibre::style::Spaces">Spaces</a> = Spaces::EncodedSrgb</h4></section><section id="associatedconstant.NUM_COMPONENTS" class="associatedconstant trait-impl has-srclink"><a href="#associatedconstant.NUM_COMPONENTS" class="anchor"></a><h4 class="code-header">const <a href="trait.ColorType.html#associatedconstant.NUM_COMPONENTS" class="constant">NUM_COMPONENTS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.usize.html">usize</a> = 3usize</h4></section></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.62.1/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.62.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.62.1/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.1/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-ColorType" class="impl has-srclink"><a href="#impl-ColorType" class="anchor"></a><h3 class="code-header in-band">impl<CTy> <a class="trait" href="trait.ColorType.html" title="trait maplibre::style::ColorType">ColorType</a> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><CTy> <span class="where fmt-newline">where<br> CTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><section id="associatedtype.ComponentTy" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.ComponentTy" class="anchor"></a><h4 class="code-header">type <a href="trait.ColorType.html#associatedtype.ComponentTy" class="associatedtype">ComponentTy</a> = CTy</h4></section><section id="associatedconstant.SPACE" class="associatedconstant trait-impl has-srclink"><a href="#associatedconstant.SPACE" class="anchor"></a><h4 class="code-header">const <a href="trait.ColorType.html#associatedconstant.SPACE" class="constant">SPACE</a>: <a class="enum" href="enum.Spaces.html" title="enum maplibre::style::Spaces">Spaces</a> = Spaces::EncodedSrgb</h4></section><section id="associatedconstant.NUM_COMPONENTS" class="associatedconstant trait-impl has-srclink"><a href="#associatedconstant.NUM_COMPONENTS" class="anchor"></a><h4 class="code-header">const <a href="trait.ColorType.html#associatedconstant.NUM_COMPONENTS" class="constant">NUM_COMPONENTS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.usize.html">usize</a> = 3usize</h4></section></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.62.1/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.62.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.62.1/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.1/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C%5BComponentTy%3B%203%5D%3E" class="impl has-srclink"><a href="#impl-From%3C%5BComponentTy%3B%203%5D%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">[</a>ComponentTy<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">; 3]</a>> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">[</a>ComponentTy<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">; 3]</a>) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C%5BComponentTy%3B%203%5D%3E" class="impl has-srclink"><a href="#impl-From%3C%5BComponentTy%3B%203%5D%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">[</a>ComponentTy<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">; 3]</a>> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">[</a>ComponentTy<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.array.html">; 3]</a>) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CAlpha%3CEncodedSrgb%3CComponentTy%3E%3E%3E" class="impl has-srclink"><a href="#impl-From%3CAlpha%3CEncodedSrgb%3CComponentTy%3E%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy>>> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl has-srclink"><a href="#method.from-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(col_alpha: <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy>>) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CAlpha%3CEncodedSrgb%3CComponentTy%3E%3E%3E" class="impl has-srclink"><a href="#impl-From%3CAlpha%3CEncodedSrgb%3CComponentTy%3E%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy>>> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl has-srclink"><a href="#method.from-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(col_alpha: <a class="struct" href="struct.Alpha.html" title="struct maplibre::style::Alpha">Alpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy>>) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E" class="impl has-srclink"><a href="#impl-From%3CColor%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f32.html">f32</a>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl has-srclink"><a href="#method.from-3" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f32.html">f32</a>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E" class="impl has-srclink"><a href="#impl-From%3CColor%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f64.html">f64</a>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl has-srclink"><a href="#method.from-3" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f64.html">f64</a>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E-1" class="impl has-srclink"><a href="#impl-From%3CColor%3E-1" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.u8.html">u8</a>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl has-srclink"><a href="#method.from-4" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.u8.html">u8</a>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E-1" class="impl has-srclink"><a href="#impl-From%3CColor%3E-1" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f32.html">f32</a>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl has-srclink"><a href="#method.from-4" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f32.html">f32</a>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E-2" class="impl has-srclink"><a href="#impl-From%3CColor%3E-2" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f64.html">f64</a>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-5" class="method trait-impl has-srclink"><a href="#method.from-5" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.f64.html">f64</a>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CColor%3E-2" class="impl has-srclink"><a href="#impl-From%3CColor%3E-2" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><Color> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.u8.html">u8</a>></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-5" class="method trait-impl has-srclink"><a href="#method.from-5" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(c: Color) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.u8.html">u8</a>></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CPremultipliedAlpha%3CEncodedSrgb%3CComponentTy%3E%3E%3E" class="impl has-srclink"><a href="#impl-From%3CPremultipliedAlpha%3CEncodedSrgb%3CComponentTy%3E%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.PremultipliedAlpha.html" title="struct maplibre::style::PremultipliedAlpha">PremultipliedAlpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy>>> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl has-srclink"><a href="#method.from-2" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(<br> col_alpha: <a class="struct" href="struct.PremultipliedAlpha.html" title="struct maplibre::style::PremultipliedAlpha">PremultipliedAlpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy>><br>) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CPremultipliedAlpha%3CEncodedSrgb%3CComponentTy%3E%3E%3E" class="impl has-srclink"><a href="#impl-From%3CPremultipliedAlpha%3CEncodedSrgb%3CComponentTy%3E%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.PremultipliedAlpha.html" title="struct maplibre::style::PremultipliedAlpha">PremultipliedAlpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy>>> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl has-srclink"><a href="#method.from-2" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(<br> col_alpha: <a class="struct" href="struct.PremultipliedAlpha.html" title="struct maplibre::style::PremultipliedAlpha">PremultipliedAlpha</a><<a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy>><br>) -> <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy></h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Hash" class="impl has-srclink"><a href="#impl-Hash" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl has-srclink"><a href="#method.hash" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#tymethod.hash" class="fnname">hash</a><__H>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.reference.html">&mut </a>__H) <span class="where fmt-newline">where<br> __H: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></h4></section></summary><div class='docblock'><p>Feeds this value into the given <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Hash" class="impl has-srclink"><a href="#impl-Hash" class="anchor"></a><h3 class="code-header in-band">impl<ComponentTy> <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.EncodedSrgb.html" title="struct maplibre::style::EncodedSrgb">EncodedSrgb</a><ComponentTy> <span class="where fmt-newline">where<br> ComponentTy: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl has-srclink"><a href="#method.hash" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#tymethod.hash" class="fnname">hash</a><__H>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.reference.html">&mut </a>__H) <span class="where fmt-newline">where<br> __H: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></h4></section></summary><div class='docblock'><p>Feeds this value into the given <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.1/src/core/hash/mod.rs.html#237-239">source</a></span><a href="#method.hash_slice" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#method.hash_slice" class="fnname">hash_slice</a><H>(data: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.slice.html">&[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.reference.html">&mut </a>H) <span class="where fmt-newline">where<br> H: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></h4></section></summary><div class='docblock'><p>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.1/src/core/hash/mod.rs.html#237-239">source</a></span><a href="#method.hash_slice" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#method.hash_slice" class="fnname">hash_slice</a><H>(data: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.slice.html">&[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.reference.html">&mut </a>H) <span class="where fmt-newline">where<br> H: <a class="trait" href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></h4></section></summary><div class='docblock'><p>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hasher.html" title="Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.62.1/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user