Skip to content

Commit

Permalink
Cargo doc auto deployment 2023-11-23 09:33:07.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigocfd committed Nov 23, 2023
1 parent 635f483 commit 2d6fa81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/winsafe/gui/events/list_view_events.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,10 @@
<span class="doccomment">/// [`NM_CUSTOMDRAW`](https://learn.microsoft.com/en-us/windows/win32/controls/nm-customdraw-list-view)
/// notification.
</span><span class="kw">pub fn </span>nm_custom_draw&lt;F&gt;(<span class="kw-2">&amp;</span><span class="self">self</span>, func: F)
<span class="kw">where </span>F: Fn(<span class="kw-2">&amp;</span>NMLVCUSTOMDRAW) -&gt; AnyResult&lt;co::CDRF&gt; + <span class="lifetime">&#39;static</span>,
<span class="kw">where </span>F: Fn(<span class="kw-2">&amp;mut </span>NMLVCUSTOMDRAW) -&gt; AnyResult&lt;co::CDRF&gt; + <span class="lifetime">&#39;static</span>,
{
<span class="self">self</span>.<span class="number">0</span>.wm_notify(co::NM::CUSTOMDRAW,
<span class="kw">move </span>|p| <span class="prelude-val">Ok</span>(<span class="prelude-val">Some</span>(func(<span class="kw">unsafe </span>{ p.cast_nmhdr::&lt;NMLVCUSTOMDRAW&gt;() })<span class="question-mark">?</span>.raw() <span class="kw">as _</span>)));
<span class="kw">move </span>|p| <span class="prelude-val">Ok</span>(<span class="prelude-val">Some</span>(func(<span class="kw">unsafe </span>{ p.cast_nmhdr_mut::&lt;NMLVCUSTOMDRAW&gt;() })<span class="question-mark">?</span>.raw() <span class="kw">as _</span>)));
}

<span class="macro">pub_fn_nfy_withparm_noret! </span>{ nm_dbl_clk, co::NM::DBLCLK, NMITEMACTIVATE;
Expand Down
2 changes: 1 addition & 1 deletion winsafe/gui/events/struct.ListViewEvents.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ <h5 id="examples-3"><a href="#examples-3">Examples</a></h5>
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;<a class="struct" href="../../struct.NMITEMACTIVATE.html" title="struct winsafe::NMITEMACTIVATE">NMITEMACTIVATE</a>) -&gt; <a class="type" href="../../type.AnyResult.html" title="type winsafe::AnyResult">AnyResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt; + 'static,</span></h4></section></summary><div class="docblock"><p><a href="https://learn.microsoft.com/en-us/windows/win32/controls/nm-click-list-view"><code>NM_CLICK</code></a>
notification.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.nm_custom_draw" class="method"><a class="src rightside" href="../../../src/winsafe/gui\events/list_view_events.rs.html#249-254">source</a><h4 class="code-header">pub fn <a href="#method.nm_custom_draw" class="fn">nm_custom_draw</a>&lt;F&gt;(&amp;self, func: F)<span class="where fmt-newline">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;<a class="struct" href="../../struct.NMLVCUSTOMDRAW.html" title="struct winsafe::NMLVCUSTOMDRAW">NMLVCUSTOMDRAW</a>) -&gt; <a class="type" href="../../type.AnyResult.html" title="type winsafe::AnyResult">AnyResult</a>&lt;<a class="struct" href="../../co/struct.CDRF.html" title="struct winsafe::co::CDRF">CDRF</a>&gt; + 'static,</span></h4></section></summary><div class="docblock"><p><a href="https://learn.microsoft.com/en-us/windows/win32/controls/nm-customdraw-list-view"><code>NM_CUSTOMDRAW</code></a>
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;mut <a class="struct" href="../../struct.NMLVCUSTOMDRAW.html" title="struct winsafe::NMLVCUSTOMDRAW">NMLVCUSTOMDRAW</a>) -&gt; <a class="type" href="../../type.AnyResult.html" title="type winsafe::AnyResult">AnyResult</a>&lt;<a class="struct" href="../../co/struct.CDRF.html" title="struct winsafe::co::CDRF">CDRF</a>&gt; + 'static,</span></h4></section></summary><div class="docblock"><p><a href="https://learn.microsoft.com/en-us/windows/win32/controls/nm-customdraw-list-view"><code>NM_CUSTOMDRAW</code></a>
notification.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.nm_dbl_clk" class="method"><a class="src rightside" href="../../../src/winsafe/gui\events/list_view_events.rs.html#256-259">source</a><h4 class="code-header">pub fn <a href="#method.nm_dbl_clk" class="fn">nm_dbl_clk</a>&lt;F&gt;(&amp;self, func: F)<span class="where fmt-newline">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;<a class="struct" href="../../struct.NMITEMACTIVATE.html" title="struct winsafe::NMITEMACTIVATE">NMITEMACTIVATE</a>) -&gt; <a class="type" href="../../type.AnyResult.html" title="type winsafe::AnyResult">AnyResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt; + 'static,</span></h4></section></summary><div class="docblock"><p><a href="https://learn.microsoft.com/en-us/windows/win32/controls/nm-dblclk-list-view"><code>NM_DBLCLK</code></a>
Expand Down

0 comments on commit 2d6fa81

Please sign in to comment.