Skip to content

Commit

Permalink
Built artifacts of 874e656 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
mhammond committed May 17, 2024
1 parent 33dee9d commit 2a22d77
Show file tree
Hide file tree
Showing 42 changed files with 70 additions and 104 deletions.
2 changes: 1 addition & 1 deletion internals/api/search-index.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -738,16 +738,6 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<a href="#736" id="736">736</a>
<a href="#737" id="737">737</a>
<a href="#738" id="738">738</a>
<a href="#739" id="739">739</a>
<a href="#740" id="740">740</a>
<a href="#741" id="741">741</a>
<a href="#742" id="742">742</a>
<a href="#743" id="743">743</a>
<a href="#744" id="744">744</a>
<a href="#745" id="745">745</a>
<a href="#746" id="746">746</a>
<a href="#747" id="747">747</a>
<a href="#748" id="748">748</a>
</pre></div><pre class="rust"><code><span class="comment">/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Expand Down Expand Up @@ -940,7 +930,6 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
/// since the details of the underlying component are entirely determined by the `ComponentInterface`.
</span><span class="attr">#[derive(Debug, Clone, Default, Serialize, Deserialize)]
</span><span class="kw">pub struct </span>Config {
<span class="kw">pub</span>(<span class="kw">super</span>) cdylib_name: <span class="prelude-ty">Option</span>&lt;String&gt;,
<span class="kw">pub</span>(<span class="kw">super</span>) module_name: <span class="prelude-ty">Option</span>&lt;String&gt;,
ffi_module_name: <span class="prelude-ty">Option</span>&lt;String&gt;,
ffi_module_filename: <span class="prelude-ty">Option</span>&lt;String&gt;,
Expand Down Expand Up @@ -995,15 +984,6 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<span class="macro">format!</span>(<span class="string">"{}.h"</span>, <span class="self">self</span>.ffi_module_filename())
}

<span class="doccomment">/// The name of the compiled Rust library containing the FFI implementation.
</span><span class="kw">pub fn </span>cdylib_name(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; String {
<span class="kw">if let </span><span class="prelude-val">Some</span>(cdylib_name) = <span class="kw-2">&amp;</span><span class="self">self</span>.cdylib_name {
cdylib_name.clone()
} <span class="kw">else </span>{
<span class="string">"uniffi"</span>.into()
}
}

<span class="doccomment">/// Whether to generate a `.modulemap` file for the lower-level C module with FFI declarations.
</span><span class="kw">pub fn </span>generate_module_map(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; bool {
<span class="self">self</span>.generate_module_map.unwrap_or(<span class="bool-val">true</span>)
Expand Down
14 changes: 1 addition & 13 deletions internals/api/src/uniffi_bindgen/bindings/swift/mod.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,6 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<a href="#120" id="120">120</a>
<a href="#121" id="121">121</a>
<a href="#122" id="122">122</a>
<a href="#123" id="123">123</a>
<a href="#124" id="124">124</a>
<a href="#125" id="125">125</a>
<a href="#126" id="126">126</a>
<a href="#127" id="127">127</a>
<a href="#128" id="128">128</a>
</pre></div><pre class="rust"><code><span class="comment">/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Expand Down Expand Up @@ -195,19 +189,13 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>

<span class="kw">fn </span>update_component_configs(
<span class="kw-2">&amp;</span><span class="self">self</span>,
settings: <span class="kw-2">&amp;</span>GenerationSettings,
_settings: <span class="kw-2">&amp;</span>GenerationSettings,
components: <span class="kw-2">&amp;mut </span>Vec&lt;Component&lt;<span class="self">Self</span>::Config&gt;&gt;,
) -&gt; <span class="prelude-ty">Result</span>&lt;()&gt; {
<span class="kw">for </span>c <span class="kw">in </span><span class="kw-2">&amp;mut *</span>components {
c.config
.module_name
.get_or_insert_with(|| c.ci.namespace().into());
c.config.cdylib_name.get_or_insert_with(|| {
settings
.cdylib
.clone()
.unwrap_or_else(|| <span class="macro">format!</span>(<span class="string">"uniffi_{}"</span>, c.ci.namespace()))
});
}
<span class="prelude-val">Ok</span>(())
}
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!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="Get the idiomatic Swift rendering of an arguments name. This is the same as the var name but quoting is not required."><title>arg_name in uniffi_bindgen::bindings::swift::gen_swift::filters - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-5bc39a1768837dd0.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="uniffi_bindgen" data-themes="" data-resource-suffix="" data-rustdoc-version="1.77.1 (7cf61ebde 2024-03-27)" data-channel="1.77.1" data-search-js="search-dd67cee4cfa65049.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-4c98445ec4002617.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-48f368f3872407c8.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-04d5337699b92874.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><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="../../../../../uniffi_bindgen/index.html">uniffi_bindgen</a><span class="version">0.27.1</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In uniffi_bindgen::bindings::swift::gen_swift::filters</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../uniffi_bindgen/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">uniffi_bindgen</a>::<wbr><a href="../../../index.html">bindings</a>::<wbr><a href="../../index.html">swift</a>::<wbr><a href="../index.html">gen_swift</a>::<wbr><a href="index.html">filters</a>::<wbr><a class="fn" href="#">arg_name</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../../src/uniffi_bindgen/bindings/swift/gen_swift/mod.rs.html#712-714">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn arg_name(nm: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.77.1/std/primitive.str.html">str</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.77.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, Error&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Get the idiomatic Swift rendering of an arguments name.
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../uniffi_bindgen/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">uniffi_bindgen</a>::<wbr><a href="../../../index.html">bindings</a>::<wbr><a href="../../index.html">swift</a>::<wbr><a href="../index.html">gen_swift</a>::<wbr><a href="index.html">filters</a>::<wbr><a class="fn" href="#">arg_name</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../../src/uniffi_bindgen/bindings/swift/gen_swift/mod.rs.html#702-704">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn arg_name(nm: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.77.1/std/primitive.str.html">str</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.77.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, Error&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Get the idiomatic Swift rendering of an arguments name.
This is the same as the var name but quoting is not required.</p>
</div></details></section></div></main></body></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="API documentation for the Rust `canonical_name` fn in crate `uniffi_bindgen`."><title>canonical_name in uniffi_bindgen::bindings::swift::gen_swift::filters - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-5bc39a1768837dd0.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="uniffi_bindgen" data-themes="" data-resource-suffix="" data-rustdoc-version="1.77.1 (7cf61ebde 2024-03-27)" data-channel="1.77.1" data-search-js="search-dd67cee4cfa65049.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-4c98445ec4002617.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-48f368f3872407c8.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-04d5337699b92874.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><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="../../../../../uniffi_bindgen/index.html">uniffi_bindgen</a><span class="version">0.27.1</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In uniffi_bindgen::bindings::swift::gen_swift::filters</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../uniffi_bindgen/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">uniffi_bindgen</a>::<wbr><a href="../../../index.html">bindings</a>::<wbr><a href="../../index.html">swift</a>::<wbr><a href="../index.html">gen_swift</a>::<wbr><a href="index.html">filters</a>::<wbr><a class="fn" href="#">canonical_name</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../../src/uniffi_bindgen/bindings/swift/gen_swift/mod.rs.html#608-610">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn canonical_name(as_type: &amp;impl <a class="trait" href="../../../../interface/trait.AsType.html" title="trait uniffi_bindgen::interface::AsType">AsType</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.77.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, Error&gt;</code></pre></section></div></main></body></html>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../uniffi_bindgen/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">uniffi_bindgen</a>::<wbr><a href="../../../index.html">bindings</a>::<wbr><a href="../../index.html">swift</a>::<wbr><a href="../index.html">gen_swift</a>::<wbr><a href="index.html">filters</a>::<wbr><a class="fn" href="#">canonical_name</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../../src/uniffi_bindgen/bindings/swift/gen_swift/mod.rs.html#598-600">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn canonical_name(as_type: &amp;impl <a class="trait" href="../../../../interface/trait.AsType.html" title="trait uniffi_bindgen::interface::AsType">AsType</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.77.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, Error&gt;</code></pre></section></div></main></body></html>
Loading

0 comments on commit 2a22d77

Please sign in to comment.