-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
163 changed files
with
1,504 additions
and
370 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!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="API documentation for the Rust `HASH` constant in crate `material_colors`."><title>HASH in material_colors::color - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-99073656bbb10eb3.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="material_colors" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0-nightly (2cbbe8b8b 2024-07-28)" data-channel="nightly" data-search-js="search-ef54e092fea9c776.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-2a506944c89e7bb4.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc constant"><!--[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="../../material_colors/index.html">material_colors</a><span class="version">0.4.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In material_colors::color</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Constant <a href="../index.html">material_colors</a>::<wbr><a href="index.html">color</a>::<wbr><a class="constant" href="#">HASH</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/material_colors/color.rs.html#227">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>const HASH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a> = '#';</code></pre></section></div></main></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!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="API documentation for the Rust `lab_f` fn in crate `material_colors`."><title>lab_f in material_colors::color - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-99073656bbb10eb3.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="material_colors" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0-nightly (2cbbe8b8b 2024-07-28)" data-channel="nightly" data-search-js="search-ef54e092fea9c776.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-2a506944c89e7bb4.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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="../../material_colors/index.html">material_colors</a><span class="version">0.4.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In material_colors::color</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">material_colors</a>::<wbr><a href="index.html">color</a>::<wbr><a class="fn" href="#">lab_f</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/material_colors/color.rs.html#410-419">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>fn lab_f(t: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code></pre></section></div></main></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!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="API documentation for the Rust `lab_invf` fn in crate `material_colors`."><title>lab_invf in material_colors::color - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-99073656bbb10eb3.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="material_colors" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0-nightly (2cbbe8b8b 2024-07-28)" data-channel="nightly" data-search-js="search-ef54e092fea9c776.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-2a506944c89e7bb4.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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="../../material_colors/index.html">material_colors</a><span class="version">0.4.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In material_colors::color</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">material_colors</a>::<wbr><a href="index.html">color</a>::<wbr><a class="fn" href="#">lab_invf</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/material_colors/color.rs.html#421-431">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>fn lab_invf(ft: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code></pre></section></div></main></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!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="API documentation for the Rust `color` mod in crate `material_colors`."><title>material_colors::color - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-99073656bbb10eb3.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="material_colors" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0-nightly (2cbbe8b8b 2024-07-28)" data-channel="nightly" data-search-js="search-ef54e092fea9c776.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-2a506944c89e7bb4.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[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="../../material_colors/index.html">material_colors</a><span class="version">0.4.0</span></h2></div><h2 class="location"><a href="#">Module color</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In crate material_colors</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">material_colors</a>::<wbr><a class="mod" href="#">color</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/material_colors/color.rs.html#1-660">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Argb.html" title="struct material_colors::color::Argb">Argb</a></div><div class="desc docblock-short">ARGB representation of color. Can be created using <a href="struct.Argb.html#method.new" title="associated function material_colors::color::Argb::new"><code>Argb::new</code></a>, <a href="struct.Argb.html#method.from_u32" title="associated function material_colors::color::Argb::from_u32"><code>Argb::from_u32</code></a> or | ||
<a href="struct.Argb.html#method.from_str" title="associated function material_colors::color::Argb::from_str"><code>Argb::from_str</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Lab.html" title="struct material_colors::color::Lab">Lab</a></div></li><li><div class="item-name"><a class="struct" href="struct.LinearRgb.html" title="struct material_colors::color::LinearRgb">LinearRgb</a></div></li><li><div class="item-name"><a class="struct" href="struct.Rgb.html" title="struct material_colors::color::Rgb">Rgb</a></div></li><li><div class="item-name"><a class="struct" href="struct.Xyz.html" title="struct material_colors::color::Xyz">Xyz</a></div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.SRGB_TO_XYZ.html" title="constant material_colors::color::SRGB_TO_XYZ">SRGB_TO_XYZ</a></div></li><li><div class="item-name"><a class="constant" href="constant.WHITE_POINT_D65.html" title="constant material_colors::color::WHITE_POINT_D65">WHITE_POINT_D65</a></div></li><li><div class="item-name"><a class="constant" href="constant.XYZ_TO_SRGB.html" title="constant material_colors::color::XYZ_TO_SRGB">XYZ_TO_SRGB</a></div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.delinearized.html" title="fn material_colors::color::delinearized">delinearized</a></div><div class="desc docblock-short">Delinearizes an Rgb component.</div></li><li><div class="item-name"><a class="fn" href="fn.linearized.html" title="fn material_colors::color::linearized">linearized</a></div><div class="desc docblock-short">Linearizes an Rgb component.</div></li><li><div class="item-name"><a class="fn" href="fn.lstar_from_y.html" title="fn material_colors::color::lstar_from_y">lstar_from_y</a></div><div class="desc docblock-short">Converts a Y value to an L* value.</div></li><li><div class="item-name"><a class="fn" href="fn.y_from_lstar.html" title="fn material_colors::color::y_from_lstar">y_from_lstar</a></div><div class="desc docblock-short">Converts an L* value to a Y value.</div></li></ul></section></div></main></body></html> | ||
<a href="struct.Argb.html#method.from_str" title="associated function material_colors::color::Argb::from_str"><code>Argb::from_str</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Lab.html" title="struct material_colors::color::Lab">Lab</a></div></li><li><div class="item-name"><a class="struct" href="struct.LinearRgb.html" title="struct material_colors::color::LinearRgb">LinearRgb</a></div></li><li><div class="item-name"><a class="struct" href="struct.Rgb.html" title="struct material_colors::color::Rgb">Rgb</a></div></li><li><div class="item-name"><a class="struct" href="struct.Xyz.html" title="struct material_colors::color::Xyz">Xyz</a></div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.HASH.html" title="constant material_colors::color::HASH">HASH</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="constant" href="constant.SRGB_TO_XYZ.html" title="constant material_colors::color::SRGB_TO_XYZ">SRGB_TO_XYZ</a></div></li><li><div class="item-name"><a class="constant" href="constant.WHITE_POINT_D65.html" title="constant material_colors::color::WHITE_POINT_D65">WHITE_POINT_D65</a></div></li><li><div class="item-name"><a class="constant" href="constant.XYZ_TO_SRGB.html" title="constant material_colors::color::XYZ_TO_SRGB">XYZ_TO_SRGB</a></div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.delinearized.html" title="fn material_colors::color::delinearized">delinearized</a></div><div class="desc docblock-short">Delinearizes an Rgb component.</div></li><li><div class="item-name"><a class="fn" href="fn.lab_f.html" title="fn material_colors::color::lab_f">lab_f</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="fn" href="fn.lab_invf.html" title="fn material_colors::color::lab_invf">lab_invf</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="fn" href="fn.linearized.html" title="fn material_colors::color::linearized">linearized</a></div><div class="desc docblock-short">Linearizes an Rgb component.</div></li><li><div class="item-name"><a class="fn" href="fn.lstar_from_y.html" title="fn material_colors::color::lstar_from_y">lstar_from_y</a></div><div class="desc docblock-short">Converts a Y value to an L* value.</div></li><li><div class="item-name"><a class="fn" href="fn.y_from_lstar.html" title="fn material_colors::color::y_from_lstar">y_from_lstar</a></div><div class="desc docblock-short">Converts an L* value to a Y value.</div></li></ul></section></div></main></body></html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.