Skip to content

Commit

Permalink
deploy: edbcd58
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Aug 22, 2024
1 parent 84ec488 commit 654239a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index.html
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="List of crates"><title>Index of crates</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-b25d77b18a16a9a4.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="numcodecs_python" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0-nightly (a32d4a0e8 2024-08-21)" 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="./static.files/main-cb0df477c2d67d00.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-3b12f09e550e0385.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 sys"><!--[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><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.82.0-nightly</span></h2></div><div class="version">(a32d4a0e8 2024-08-21)</div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><h1>List of all crates</h1><ul class="all-items"><li><a href="numcodecs/index.html">numcodecs</a></li><li><a href="numcodecs_bit_round/index.html">numcodecs_bit_round</a></li><li><a href="numcodecs_identity/index.html">numcodecs_identity</a></li><li><a href="numcodecs_linear_quantize/index.html">numcodecs_linear_quantize</a></li><li><a href="numcodecs_log/index.html">numcodecs_log</a></li><li><a href="numcodecs_python/index.html">numcodecs_python</a></li><li><a href="numcodecs_reinterpret/index.html">numcodecs_reinterpret</a></li><li><a href="numcodecs_round/index.html">numcodecs_round</a></li><li><a href="numcodecs_sz3/index.html">numcodecs_sz3</a></li><li><a href="numcodecs_uniform_noise/index.html">numcodecs_uniform_noise</a></li><li><a href="numcodecs_wasm_guest/index.html">numcodecs_wasm_guest</a></li><li><a href="numcodecs_zfp/index.html">numcodecs_zfp</a></li><li><a href="numcodecs_zlib/index.html">numcodecs_zlib</a></li><li><a href="numcodecs_zstd/index.html">numcodecs_zstd</a></li></ul></section></div></main></body></html>
<!--{"start":2531,"fragment_lengths":[53,73,71,85,61,67,77,65,61,81,75,61,63,63]}-->
<!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="List of crates"><title>Index of crates</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-b25d77b18a16a9a4.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="numcodecs_uniform_noise" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0-nightly (a32d4a0e8 2024-08-21)" 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="./static.files/main-cb0df477c2d67d00.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-3b12f09e550e0385.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 sys"><!--[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><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.82.0-nightly</span></h2></div><div class="version">(a32d4a0e8 2024-08-21)</div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><h1>List of all crates</h1><ul class="all-items"><li><a href="numcodecs/index.html">numcodecs</a></li><li><a href="numcodecs_bit_round/index.html">numcodecs_bit_round</a></li><li><a href="numcodecs_identity/index.html">numcodecs_identity</a></li><li><a href="numcodecs_linear_quantize/index.html">numcodecs_linear_quantize</a></li><li><a href="numcodecs_log/index.html">numcodecs_log</a></li><li><a href="numcodecs_python/index.html">numcodecs_python</a></li><li><a href="numcodecs_reinterpret/index.html">numcodecs_reinterpret</a></li><li><a href="numcodecs_round/index.html">numcodecs_round</a></li><li><a href="numcodecs_sz3/index.html">numcodecs_sz3</a></li><li><a href="numcodecs_uniform_noise/index.html">numcodecs_uniform_noise</a></li><li><a href="numcodecs_wasm_guest/index.html">numcodecs_wasm_guest</a></li><li><a href="numcodecs_zfp/index.html">numcodecs_zfp</a></li><li><a href="numcodecs_zlib/index.html">numcodecs_zlib</a></li><li><a href="numcodecs_zstd/index.html">numcodecs_zstd</a></li></ul></section></div></main></body></html>
<!--{"start":2538,"fragment_lengths":[53,73,71,85,61,67,77,65,61,81,75,61,63,63]}-->
6 changes: 3 additions & 3 deletions src/numcodecs_wasm_guest/lib.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,18 +231,18 @@
/// export_codec!(MyCodec);
/// ```
</span><span class="macro">macro_rules!</span> <a href="../../numcodecs_wasm_guest/macro.export_codec.html">export_codec</a> {
(<span class="macro-nonterminal">$codec</span>:ty) =&gt; {{
(<span class="macro-nonterminal">$codec</span>:ty) =&gt; {
<span class="kw">type </span>Codec = <span class="macro-nonterminal">$codec</span>;

<span class="kw">const _</span>: () = {
<span class="kw">const fn </span>can_only_export_static_codec&lt;T: <span class="macro-nonterminal">$crate::numcodecs::StaticCodec</span>&gt;() {}

can_only_export_static_codec::&lt;<span class="macro-nonterminal">$codec</span>&gt;()
can_only_export_static_codec::&lt;Codec&gt;()
};

<span class="attr">#[cfg(target_arch = <span class="string">"wasm32"</span>)]
</span><span class="macro-nonterminal">$</span><span class="macro">crate::bindings::export!</span>(<span class="macro-nonterminal">Codec </span>with_types_in <span class="macro-nonterminal">$crate::bindings</span>);
}};
};
}

<span class="attr">#[cfg(target_arch = <span class="string">"wasm32"</span>)]
Expand Down

0 comments on commit 654239a

Please sign in to comment.