Skip to content

Commit

Permalink
Built artifacts of f15901c [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
mhammond committed May 24, 2024
1 parent beec518 commit 9781172
Show file tree
Hide file tree
Showing 75 changed files with 129 additions and 128 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,6 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<a href="#674" id="674">674</a>
<a href="#675" id="675">675</a>
<a href="#676" id="676">676</a>
<a href="#677" id="677">677</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 @@ -778,20 +777,19 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
}

<span class="kw">impl </span>Config {
<span class="kw">pub fn </span>package_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>(package_name) = <span class="kw-2">&amp;</span><span class="self">self</span>.package_name {
package_name.clone()
} <span class="kw">else </span>{
<span class="string">"uniffi"</span>.into()
}
<span class="comment">// We insist someone has already configured us - any defaults we supply would be wrong.
</span><span class="kw">pub fn </span>package_name(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; String {
<span class="self">self</span>.package_name
.as_ref()
.expect(<span class="string">"package name should have been set in update_component_configs"</span>)
.clone()
}

<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="self">self</span>.cdylib_name
.as_ref()
.expect(<span class="string">"cdylib name should have been set in update_component_configs"</span>)
.clone()
}

<span class="doccomment">/// Whether to generate immutable records (`val` instead of `var`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<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>
</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 @@ -956,11 +957,12 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>

<span class="kw">impl </span>Config {
<span class="doccomment">/// The name of the Swift module containing the high-level foreign-language bindings.
/// Panics if the module name hasn't been configured.
</span><span class="kw">pub fn </span>module_name(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; String {
<span class="kw">match </span><span class="self">self</span>.module_name.as_ref() {
<span class="prelude-val">Some</span>(name) =&gt; name.clone(),
<span class="prelude-val">None </span>=&gt; <span class="string">"uniffi"</span>.into(),
}
<span class="self">self</span>.module_name
.as_ref()
.expect(<span class="string">"module name should have been set in update_component_configs"</span>)
.clone()
}

<span class="doccomment">/// The name of the lower-level C module containing the FFI declarations.
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="API documentation for the Rust `allocation_size_fn` fn in crate `uniffi_bindgen`."><title>allocation_size_fn in uniffi_bindgen::bindings::kotlin::gen_kotlin::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::kotlin::gen_kotlin::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">kotlin</a>::<wbr><a href="../index.html">gen_kotlin</a>::<wbr><a href="index.html">filters</a>::<wbr><a class="fn" href="#">allocation_size_fn</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/kotlin/gen_kotlin/mod.rs.html#499-504">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub(super) fn allocation_size_fn(
<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">kotlin</a>::<wbr><a href="../index.html">gen_kotlin</a>::<wbr><a href="index.html">filters</a>::<wbr><a class="fn" href="#">allocation_size_fn</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/kotlin/gen_kotlin/mod.rs.html#498-503">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub(super) fn allocation_size_fn(
as_ct: &amp;impl <a class="trait" href="../trait.AsCodeType.html" title="trait uniffi_bindgen::bindings::kotlin::gen_kotlin::AsCodeType">AsCodeType</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>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!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 `async_complete` fn in crate `uniffi_bindgen`."><title>async_complete in uniffi_bindgen::bindings::kotlin::gen_kotlin::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::kotlin::gen_kotlin::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">kotlin</a>::<wbr><a href="../index.html">gen_kotlin</a>::<wbr><a href="index.html">filters</a>::<wbr><a class="fn" href="#">async_complete</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/kotlin/gen_kotlin/mod.rs.html#629-648">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 async_complete(
<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">kotlin</a>::<wbr><a href="../index.html">gen_kotlin</a>::<wbr><a href="index.html">filters</a>::<wbr><a class="fn" href="#">async_complete</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/kotlin/gen_kotlin/mod.rs.html#628-647">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 async_complete(
callable: impl <a class="trait" href="../../../../interface/function/trait.Callable.html" title="trait uniffi_bindgen::interface::function::Callable">Callable</a>,
ci: &amp;<a class="struct" href="../../../../interface/struct.ComponentInterface.html" title="struct uniffi_bindgen::interface::ComponentInterface">ComponentInterface</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 9781172

Please sign in to comment.