Skip to content

Commit

Permalink
Cargo doc auto deployment 2024-10-27 12:23:04.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigocfd committed Oct 27, 2024
1 parent 70caffc commit a970768
Show file tree
Hide file tree
Showing 26 changed files with 80 additions and 59 deletions.
4 changes: 2 additions & 2 deletions search-index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion search.desc/winsafe/winsafe-desc-0-.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/winsafe/gui/events/window_events_priv.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@

<span class="kw">if </span>wm_any.msg_id == co::WM::COMMAND {
<span class="kw">let </span>wm_cmd = <span class="kw">unsafe </span>{ wm::Command::from_generic_wm(wm_any) };
<span class="kw">let </span>key_cmd = wm_cmd.event.id_code();
<span class="kw">let </span>key_cmd = (wm_cmd.event.ctrl_id(), wm_cmd.event.code());
<span class="kw">let </span>cmds = <span class="kw">unsafe </span>{ <span class="kw-2">&amp;*</span><span class="self">self</span>.cmds.get() };
<span class="kw">for </span>func <span class="kw">in </span>cmds.filter(key_cmd) {
<span class="kw">match </span>func()<span class="question-mark">? </span>{
Expand Down Expand Up @@ -343,7 +343,7 @@
{
<span class="kw">if </span>wm_any.msg_id == co::WM::COMMAND {
<span class="kw">let </span>wm_cmd = <span class="kw">unsafe </span>{ wm::Command::from_generic_wm(wm_any) };
<span class="kw">let </span>key_cmd = wm_cmd.event.id_code();
<span class="kw">let </span>key_cmd = (wm_cmd.event.ctrl_id(), wm_cmd.event.code());
<span class="kw">let </span>cmds = <span class="kw">unsafe </span>{ <span class="kw-2">&amp;*</span><span class="self">self</span>.cmds.get() };
<span class="kw">for </span>func <span class="kw">in </span>cmds.filter_rev(key_cmd) {
<span class="kw">match </span>func()<span class="question-mark">? </span>{
Expand Down
4 changes: 2 additions & 2 deletions src/winsafe/gui/native_controls/list_view.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -709,9 +709,9 @@
}

<span class="kw">let </span>style: co::LVS = <span class="self">self</span>.hwnd().style().into();
<span class="self">self</span>.hwnd().set_style(style | co::LVS::SHAREIMAGELISTS);
<span class="self">self</span>.hwnd().set_style(style | co::LVS::SHAREIMAGELISTS); <span class="comment">// force style

<span class="self">self</span>.<span class="number">0</span>.base.parent()
</span><span class="self">self</span>.<span class="number">0</span>.base.parent()
.add_to_layout_arranger(<span class="self">self</span>.hwnd(), opts_resz.resize_behavior())
}

Expand Down
32 changes: 26 additions & 6 deletions src/winsafe/user/enums.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,17 @@
<a href="#458" id="458">458</a>
<a href="#459" id="459">459</a>
<a href="#460" id="460">460</a>
<a href="#461" id="461">461</a></pre></div><pre class="rust"><code><span class="attr">#![allow(non_snake_case)]
<a href="#461" id="461">461</a>
<a href="#462" id="462">462</a>
<a href="#463" id="463">463</a>
<a href="#464" id="464">464</a>
<a href="#465" id="465">465</a>
<a href="#466" id="466">466</a>
<a href="#467" id="467">467</a>
<a href="#468" id="468">468</a>
<a href="#469" id="469">469</a>
<a href="#470" id="470">470</a>
<a href="#471" id="471">471</a></pre></div><pre class="rust"><code><span class="attr">#![allow(non_snake_case)]

</span><span class="kw">use </span><span class="kw">crate</span>::co;
<span class="kw">use </span><span class="kw">crate</span>::decl::<span class="kw-2">*</span>;
Expand All @@ -480,13 +490,23 @@
}

<span class="kw">impl </span>AccelMenuCtrl {
<span class="doccomment">/// Returns the control ID and the notification code pair.
<span class="doccomment">/// Returns the control ID.
</span><span class="attr">#[must_use]
</span><span class="kw">pub const fn </span>id_code(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; (u16, co::CMD) {
</span><span class="kw">pub const fn </span>ctrl_id(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; u16 {
<span class="kw">match </span><span class="self">self </span>{
AccelMenuCtrl::Accel(id) =&gt; (<span class="kw-2">*</span>id, co::CMD::Accelerator),
AccelMenuCtrl::Menu(id) =&gt; (<span class="kw-2">*</span>id, co::CMD::Menu),
AccelMenuCtrl::Ctrl(data) =&gt; (data.ctrl_id, data.notif_code),
AccelMenuCtrl::Accel(id) =&gt; <span class="kw-2">*</span>id,
AccelMenuCtrl::Menu(id) =&gt; <span class="kw-2">*</span>id,
AccelMenuCtrl::Ctrl(data) =&gt; data.ctrl_id,
}
}

<span class="doccomment">/// Returns the notification code.
</span><span class="attr">#[must_use]
</span><span class="kw">pub const fn </span>code(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; co::CMD {
<span class="kw">match </span><span class="self">self </span>{
AccelMenuCtrl::Accel(<span class="kw">_</span>) =&gt; co::CMD::Accelerator,
AccelMenuCtrl::Menu(<span class="kw">_</span>) =&gt; co::CMD::Menu,
AccelMenuCtrl::Ctrl(data) =&gt; data.notif_code,
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions winsafe/enum.AccelMenuCtrl.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions winsafe/enum.AtomStr.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions winsafe/enum.BmpIcon.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions winsafe/enum.BmpPtrStr.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions winsafe/enum.DispfNup.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions winsafe/enum.GmidxEnum.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions winsafe/enum.HwKbMouse.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion winsafe/enum.HwndFocus.html
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="Variant parameter for:"><title>HwndFocus in winsafe - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-a5dc3bae.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="winsafe" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0-nightly (662180b34 2024-10-20)" data-channel="nightly" data-search-js="search-c5a66128.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc enum"><!--[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="../winsafe/index.html">winsafe</a><span class="version">0.0.22</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Hwnd<wbr>Focus</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.FocusNext" title="FocusNext">FocusNext</a></li><li><a href="#variant.Hwnd" title="Hwnd">Hwnd</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Sync-for-HwndFocus" title="!Sync">!Sync</a></li><li><a href="#impl-Freeze-for-HwndFocus" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-HwndFocus" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-HwndFocus" title="Send">Send</a></li><li><a href="#impl-Unpin-for-HwndFocus" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-HwndFocus" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate winsafe</a></h2></div></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"><span class="rustdoc-breadcrumbs"><a href="index.html">winsafe</a></span><h1>Enum <span class="enum">HwndFocus</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/winsafe/user/enums.rs.html#178-184">source</a> </span></div><pre class="rust item-decl"><code>pub enum HwndFocus {
<!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="Variant parameter for:"><title>HwndFocus in winsafe - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-a5dc3bae.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="winsafe" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0-nightly (662180b34 2024-10-20)" data-channel="nightly" data-search-js="search-c5a66128.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc enum"><!--[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="../winsafe/index.html">winsafe</a><span class="version">0.0.22</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Hwnd<wbr>Focus</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.FocusNext" title="FocusNext">FocusNext</a></li><li><a href="#variant.Hwnd" title="Hwnd">Hwnd</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Sync-for-HwndFocus" title="!Sync">!Sync</a></li><li><a href="#impl-Freeze-for-HwndFocus" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-HwndFocus" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-HwndFocus" title="Send">Send</a></li><li><a href="#impl-Unpin-for-HwndFocus" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-HwndFocus" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate winsafe</a></h2></div></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"><span class="rustdoc-breadcrumbs"><a href="index.html">winsafe</a></span><h1>Enum <span class="enum">HwndFocus</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/winsafe/user/enums.rs.html#188-194">source</a> </span></div><pre class="rust item-decl"><code>pub enum HwndFocus {
Hwnd(<a class="struct" href="struct.HWND.html" title="struct winsafe::HWND">HWND</a>),
FocusNext(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>),
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>user</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Variant parameter for:</p>
Expand Down
Loading

0 comments on commit a970768

Please sign in to comment.