Skip to content

Commit

Permalink
Cargo doc auto deployment 2024-04-14 09:26:18.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigocfd committed Apr 14, 2024
1 parent ab00f9e commit 576af71
Show file tree
Hide file tree
Showing 216 changed files with 2,029 additions and 1,619 deletions.
2 changes: 1 addition & 1 deletion 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.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions src/winsafe/comctl/co.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -2662,6 +2662,17 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<a href="#2660" id="2660">2660</a>
<a href="#2661" id="2661">2661</a>
<a href="#2662" id="2662">2662</a>
<a href="#2663" id="2663">2663</a>
<a href="#2664" id="2664">2664</a>
<a href="#2665" id="2665">2665</a>
<a href="#2666" id="2666">2666</a>
<a href="#2667" id="2667">2667</a>
<a href="#2668" id="2668">2668</a>
<a href="#2669" id="2669">2669</a>
<a href="#2670" id="2670">2670</a>
<a href="#2671" id="2671">2671</a>
<a href="#2672" id="2672">2672</a>
<a href="#2673" id="2673">2673</a>
</pre></div><pre class="rust"><code><span class="attr">#![allow(non_camel_case_types, non_upper_case_globals)]

</span><span class="kw">use </span><span class="kw">crate</span>::co::<span class="kw-2">*</span>;
Expand Down Expand Up @@ -3223,6 +3234,17 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
</span>ONOVERFLOW <span class="number">0x4000
</span>}

<span class="macro">const_bitflag!</span> { HOTKEYF: u16;
<span class="doccomment">/// [`wm::AppCommand`](crate::msg::wm::SetHotkey) and
/// [`wm::AppCommand`](crate::msg::wm::SetHotkey) modifiers (`u16`).
</span>=&gt;
=&gt;
ALT <span class="number">0x04
</span>CONTROL <span class="number">0x02
</span>EXT <span class="number">0x08
</span>SHIFT <span class="number">0x01
</span>}

<span class="macro">const_bitflag!</span> { ICC: u32;
<span class="doccomment">/// [`INITCOMMONCONTROLSEX`](crate::INITCOMMONCONTROLSEX) `icc` (`u32`).
</span>=&gt;
Expand Down
130 changes: 130 additions & 0 deletions src/winsafe/comctl/messages/wm.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,71 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<a href="#61" id="61">61</a>
<a href="#62" id="62">62</a>
<a href="#63" id="63">63</a>
<a href="#64" id="64">64</a>
<a href="#65" id="65">65</a>
<a href="#66" id="66">66</a>
<a href="#67" id="67">67</a>
<a href="#68" id="68">68</a>
<a href="#69" id="69">69</a>
<a href="#70" id="70">70</a>
<a href="#71" id="71">71</a>
<a href="#72" id="72">72</a>
<a href="#73" id="73">73</a>
<a href="#74" id="74">74</a>
<a href="#75" id="75">75</a>
<a href="#76" id="76">76</a>
<a href="#77" id="77">77</a>
<a href="#78" id="78">78</a>
<a href="#79" id="79">79</a>
<a href="#80" id="80">80</a>
<a href="#81" id="81">81</a>
<a href="#82" id="82">82</a>
<a href="#83" id="83">83</a>
<a href="#84" id="84">84</a>
<a href="#85" id="85">85</a>
<a href="#86" id="86">86</a>
<a href="#87" id="87">87</a>
<a href="#88" id="88">88</a>
<a href="#89" id="89">89</a>
<a href="#90" id="90">90</a>
<a href="#91" id="91">91</a>
<a href="#92" id="92">92</a>
<a href="#93" id="93">93</a>
<a href="#94" id="94">94</a>
<a href="#95" id="95">95</a>
<a href="#96" id="96">96</a>
<a href="#97" id="97">97</a>
<a href="#98" id="98">98</a>
<a href="#99" id="99">99</a>
<a href="#100" id="100">100</a>
<a href="#101" id="101">101</a>
<a href="#102" id="102">102</a>
<a href="#103" id="103">103</a>
<a href="#104" id="104">104</a>
<a href="#105" id="105">105</a>
<a href="#106" id="106">106</a>
<a href="#107" id="107">107</a>
<a href="#108" id="108">108</a>
<a href="#109" id="109">109</a>
<a href="#110" id="110">110</a>
<a href="#111" id="111">111</a>
<a href="#112" id="112">112</a>
<a href="#113" id="113">113</a>
<a href="#114" id="114">114</a>
<a href="#115" id="115">115</a>
<a href="#116" id="116">116</a>
<a href="#117" id="117">117</a>
<a href="#118" id="118">118</a>
<a href="#119" id="119">119</a>
<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="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>;
<span class="kw">use </span><span class="kw">crate</span>::msg::<span class="kw-2">*</span>;
Expand Down Expand Up @@ -126,4 +191,69 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
</span><span class="kw-2">&amp;mut *</span>(<span class="self">self</span>.nmhdr <span class="kw">as </span><span class="kw-2">*const </span><span class="kw">_ as </span><span class="kw-2">*mut </span><span class="kw">_</span>)
}
}

<span class="doccomment">/// [`WM_GETHOTKEY`](https://learn.microsoft.com/en-us/windows/win32/inputdev/wm-gethotkey)
/// message, which has no parameters.
///
/// Return type: `(co::VK, co::HOTKEYF)`.
</span><span class="kw">pub struct </span>GetHotKey {}

<span class="kw">unsafe impl </span>MsgSend <span class="kw">for </span>GetHotKey {
<span class="kw">type </span>RetType = (co::VK, co::HOTKEYF);

<span class="kw">fn </span>convert_ret(<span class="kw-2">&amp;</span><span class="self">self</span>, v: isize) -&gt; <span class="self">Self</span>::RetType {
<span class="kw">unsafe </span>{(
co::VK::from_raw(LOBYTE(v <span class="kw">as _</span>) <span class="kw">as _</span>),
co::HOTKEYF::from_raw(HIBYTE(v <span class="kw">as _</span>) <span class="kw">as _</span>),
)}
}

<span class="kw">fn </span>as_generic_wm(<span class="kw-2">&amp;mut </span><span class="self">self</span>) -&gt; WndMsg {
WndMsg {
msg_id: co::WM::GETHOTKEY,
wparam: <span class="number">0</span>,
lparam: <span class="number">0</span>,
}
}
}

<span class="kw">unsafe impl </span>MsgSendRecv <span class="kw">for </span>GetHotKey {
<span class="kw">fn </span>from_generic_wm(<span class="kw">_</span>: WndMsg) -&gt; <span class="self">Self </span>{
<span class="self">Self </span>{}
}
}

<span class="doccomment">/// [`WM_SETHOTKEY`](https://learn.microsoft.com/en-us/windows/win32/inputdev/wm-sethotkey)
/// message parameters.
///
/// Return type: `i32`.
</span><span class="kw">pub struct </span>SetHotKey {
<span class="kw">pub </span>vkey_code: co::VK,
<span class="kw">pub </span>modifiers: co::HOTKEYF,
}

<span class="kw">unsafe impl </span>MsgSend <span class="kw">for </span>SetHotKey {
<span class="kw">type </span>RetType = ();

<span class="kw">fn </span>convert_ret(<span class="kw-2">&amp;</span><span class="self">self</span>, <span class="kw">_</span>: isize) -&gt; <span class="self">Self</span>::RetType {
()
}

<span class="kw">fn </span>as_generic_wm(<span class="kw-2">&amp;mut </span><span class="self">self</span>) -&gt; WndMsg {
WndMsg {
msg_id: co::WM::SETHOTKEY,
wparam: MAKEDWORD(<span class="self">self</span>.vkey_code.raw(), <span class="self">self</span>.modifiers.raw()) <span class="kw">as _</span>,
lparam: <span class="number">0</span>,
}
}
}

<span class="kw">unsafe impl </span>MsgSendRecv <span class="kw">for </span>SetHotKey {
<span class="kw">fn </span>from_generic_wm(p: WndMsg) -&gt; <span class="self">Self </span>{
<span class="self">Self </span>{
vkey_code: <span class="kw">unsafe </span>{ co::VK::from_raw(LOWORD(p.wparam <span class="kw">as _</span>)) },
modifiers: <span class="kw">unsafe </span>{ co::HOTKEYF::from_raw(HIWORD(p.wparam <span class="kw">as _</span>)) },
}
}
}
</code></pre></div></section></main></body></html>
24 changes: 24 additions & 0 deletions src/winsafe/user/co/consts.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -3834,6 +3834,18 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<a href="#3832" id="3832">3832</a>
<a href="#3833" id="3833">3833</a>
<a href="#3834" id="3834">3834</a>
<a href="#3835" id="3835">3835</a>
<a href="#3836" id="3836">3836</a>
<a href="#3837" id="3837">3837</a>
<a href="#3838" id="3838">3838</a>
<a href="#3839" id="3839">3839</a>
<a href="#3840" id="3840">3840</a>
<a href="#3841" id="3841">3841</a>
<a href="#3842" id="3842">3842</a>
<a href="#3843" id="3843">3843</a>
<a href="#3844" id="3844">3844</a>
<a href="#3845" id="3845">3845</a>
<a href="#3846" id="3846">3846</a>
</pre></div><pre class="rust"><code><span class="attr">#![allow(non_camel_case_types, non_upper_case_globals)]

</span><span class="kw">use </span><span class="kw">crate</span>::co::<span class="kw-2">*</span>;
Expand Down Expand Up @@ -5866,6 +5878,18 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
</span>CHECKORBMP <span class="number">0x0400_0000
</span>}

<span class="macro">const_bitflag!</span> { MOD: u16;
<span class="doccomment">/// [`RegisterHotKey`](crate::prelude::user_Hwnd::RegisterHotKey) modifiers
/// (`u16`).
</span>=&gt;
=&gt;
ALT <span class="number">0x0001
</span>CONTROL <span class="number">0x0002
</span>NOREPEAT <span class="number">0x4000
</span>SHIFT <span class="number">0x0004
</span>WIN <span class="number">0x0008
</span>}

<span class="macro">const_ordinary!</span> { MONITOR: u32;
<span class="doccomment">/// [`HMONITOR::MonitorFromPoint`](crate::prelude::user_Hmonitor::MonitorFromPoint),
/// [`HMONITOR::MonitorFromRect`](crate::prelude::user_Hmonitor::MonitorFromRect),
Expand Down
4 changes: 4 additions & 0 deletions src/winsafe/user/ffi.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<a href="#275" id="275">275</a>
<a href="#276" id="276">276</a>
<a href="#277" id="277">277</a>
<a href="#278" id="278">278</a>
<a href="#279" id="279">279</a>
</pre></div><pre class="rust"><code><span class="kw">use </span><span class="kw">crate</span>::kernel::ffi_types::<span class="kw-2">*</span>;

<span class="macro">extern_sys!</span> { <span class="string">"comdlg32"</span>;
Expand Down Expand Up @@ -484,6 +486,7 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
RealGetWindowClassW(HANDLE, PSTR, i32) -&gt; u32
RedrawWindow(HANDLE, PCVOID, HANDLE, u32) -&gt; BOOL
RegisterClassExW(PCVOID) -&gt; u16
RegisterHotKey(HANDLE, i32, u32, u32) -&gt; BOOL
RegisterWindowMessageW(PCSTR) -&gt; u32
ReleaseCapture() -&gt; BOOL
ReleaseDC(HANDLE, HANDLE) -&gt; i32
Expand Down Expand Up @@ -543,6 +546,7 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
UnhookWindowsHookEx(HANDLE) -&gt; BOOL
UnionRect(PVOID, PCVOID, PCVOID) -&gt; BOOL
UnregisterClassW(PCSTR, HANDLE) -&gt; BOOL
UnregisterHotKey(HANDLE, i32) -&gt; BOOL
UpdateLayeredWindow(HANDLE, HANDLE, PCVOID, PCVOID, HANDLE, PCVOID, u32, PCVOID, u32) -&gt; BOOL
UpdateWindow(HANDLE) -&gt; BOOL
ValidateRect(HANDLE, PCVOID) -&gt; BOOL
Expand Down
52 changes: 52 additions & 0 deletions src/winsafe/user/handles/hwnd.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -1984,6 +1984,32 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<a href="#1982" id="1982">1982</a>
<a href="#1983" id="1983">1983</a>
<a href="#1984" id="1984">1984</a>
<a href="#1985" id="1985">1985</a>
<a href="#1986" id="1986">1986</a>
<a href="#1987" id="1987">1987</a>
<a href="#1988" id="1988">1988</a>
<a href="#1989" id="1989">1989</a>
<a href="#1990" id="1990">1990</a>
<a href="#1991" id="1991">1991</a>
<a href="#1992" id="1992">1992</a>
<a href="#1993" id="1993">1993</a>
<a href="#1994" id="1994">1994</a>
<a href="#1995" id="1995">1995</a>
<a href="#1996" id="1996">1996</a>
<a href="#1997" id="1997">1997</a>
<a href="#1998" id="1998">1998</a>
<a href="#1999" id="1999">1999</a>
<a href="#2000" id="2000">2000</a>
<a href="#2001" id="2001">2001</a>
<a href="#2002" id="2002">2002</a>
<a href="#2003" id="2003">2003</a>
<a href="#2004" id="2004">2004</a>
<a href="#2005" id="2005">2005</a>
<a href="#2006" id="2006">2006</a>
<a href="#2007" id="2007">2007</a>
<a href="#2008" id="2008">2008</a>
<a href="#2009" id="2009">2009</a>
<a href="#2010" id="2010">2010</a>
</pre></div><pre class="rust"><code><span class="attr">#![allow(non_camel_case_types, non_snake_case)]

</span><span class="kw">use </span>std::marker::PhantomData;
Expand Down Expand Up @@ -3373,6 +3399,26 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
)
}

<span class="doccomment">/// [`RegisterHotKey`](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-registerhotkey)
/// function.
</span><span class="kw">fn </span>RegisterHotKey(<span class="kw-2">&amp;</span><span class="self">self</span>,
id: i32,
modifiers: co::MOD,
vkey_code: co::VK,
) -&gt; SysResult&lt;()&gt;
{
bool_to_sysresult(
<span class="kw">unsafe </span>{
ffi::RegisterHotKey(
<span class="self">self</span>.ptr(),
id,
modifiers.raw() <span class="kw">as _</span>,
vkey_code.raw() <span class="kw">as _</span>,
)
},
)
}

<span class="doccomment">/// [`ScreenToClient`](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-screentoclient)
/// function.
///
Expand Down Expand Up @@ -3884,6 +3930,12 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
)
}

<span class="doccomment">/// [`UnregisterHotKey`](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-unregisterhotkey)
/// function.
</span><span class="kw">fn </span>UnregisterHotKey(<span class="kw-2">&amp;</span><span class="self">self</span>, id: i32) -&gt; SysResult&lt;()&gt; {
bool_to_sysresult(<span class="kw">unsafe </span>{ ffi::UnregisterHotKey(<span class="self">self</span>.ptr(), id) })
}

<span class="doccomment">/// [`UpdateLayeredWindow`](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-updatelayeredwindow)
/// function.
</span><span class="kw">fn </span>UpdateLayeredWindow(<span class="kw-2">&amp;</span><span class="self">self</span>,
Expand Down
2 changes: 1 addition & 1 deletion trait.impl/core/clone/trait.Clone.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/cmp/trait.Eq.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/cmp/trait.Ord.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/cmp/trait.PartialEq.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/cmp/trait.PartialOrd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/convert/trait.AsRef.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/convert/trait.From.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/default/trait.Default.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/fmt/trait.Binary.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/fmt/trait.Debug.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/fmt/trait.Display.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/fmt/trait.LowerHex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/fmt/trait.Octal.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/fmt/trait.UpperHex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/hash/trait.Hash.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/marker/trait.Copy.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/marker/trait.Freeze.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/marker/trait.Send.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/marker/trait.StructuralPartialEq.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/marker/trait.Sync.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/marker/trait.Unpin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/ops/bit/trait.BitAnd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/ops/bit/trait.BitAndAssign.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/ops/bit/trait.BitOr.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/ops/bit/trait.BitOrAssign.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/ops/bit/trait.BitXor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/ops/bit/trait.BitXorAssign.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/ops/bit/trait.Not.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion winsafe/all.html

Large diffs are not rendered by default.

Loading

0 comments on commit 576af71

Please sign in to comment.