Skip to content

Commit

Permalink
Cargo doc auto deployment 2024-09-09 11:19:03.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigocfd committed Sep 9, 2024
1 parent 6e79e03 commit 36e1569
Show file tree
Hide file tree
Showing 19 changed files with 46 additions and 69 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.

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.

32 changes: 5 additions & 27 deletions src/winsafe/ole/structs.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,18 +251,7 @@
<a href="#250" id="250">250</a>
<a href="#251" id="251">251</a>
<a href="#252" id="252">252</a>
<a href="#253" id="253">253</a>
<a href="#254" id="254">254</a>
<a href="#255" id="255">255</a>
<a href="#256" id="256">256</a>
<a href="#257" id="257">257</a>
<a href="#258" id="258">258</a>
<a href="#259" id="259">259</a>
<a href="#260" id="260">260</a>
<a href="#261" id="261">261</a>
<a href="#262" id="262">262</a>
<a href="#263" id="263">263</a>
<a href="#264" id="264">264</a></pre></div><pre class="rust"><code><span class="attr">#![allow(non_camel_case_types, non_snake_case)]
<a href="#253" id="253">253</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 @@ -346,9 +335,9 @@
/// The [`Default`] trait automatically initializes `lindex` to `-1`.
</span><span class="attr">#[repr(C)]
</span><span class="kw">pub struct </span>FORMATETC&lt;<span class="lifetime">'a</span>&gt; {
cfFormat: u16,
<span class="kw">pub </span>cfFormat: co::CF,
ptd: <span class="kw-2">*mut </span>DVTARGETDEVICE,
<span class="kw">pub </span>dwAspect: u32,
<span class="kw">pub </span>dwAspect: co::DVASPECT,
<span class="kw">pub </span>lindex: i32,
<span class="kw">pub </span>tymed: co::TYMED,

Expand All @@ -358,9 +347,9 @@
<span class="kw">impl</span>&lt;<span class="lifetime">'a</span>&gt; Default <span class="kw">for </span>FORMATETC&lt;<span class="lifetime">'a</span>&gt; {
<span class="kw">fn </span>default() -&gt; <span class="self">Self </span>{
<span class="self">Self </span>{
cfFormat: <span class="number">0</span>,
cfFormat: co::CF::default(),
ptd: std::ptr::null_mut(),
dwAspect: <span class="number">0</span>,
dwAspect: co::DVASPECT::default(),
lindex: -<span class="number">1</span>,
tymed: co::TYMED::default(),
_ptd: PhantomData,
Expand All @@ -369,17 +358,6 @@
}

<span class="kw">impl</span>&lt;<span class="lifetime">'a</span>&gt; FORMATETC&lt;<span class="lifetime">'a</span>&gt; {
<span class="doccomment">/// Returns the `cfFormat` field.
</span><span class="attr">#[must_use]
</span><span class="kw">pub fn </span>cfFormat(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; co::CF {
<span class="kw">unsafe </span>{ co::CF::from_raw(<span class="self">self</span>.cfFormat <span class="kw">as _</span>) }
}

<span class="doccomment">/// Sets the `cfFormat` field.
</span><span class="kw">pub fn </span>set_cfFormat(<span class="kw-2">&amp;mut </span><span class="self">self</span>, val: co::CF) {
<span class="self">self</span>.cfFormat = val.raw() <span class="kw">as _</span>;
}

<span class="macro">pub_fn_ptr_get_set!</span>(<span class="lifetime">'a</span>, ptd, set_ptd, DVTARGETDEVICE);
}

Expand Down
4 changes: 2 additions & 2 deletions src/winsafe/user/co/consts.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -4201,10 +4201,10 @@
</span>VIDEOPARAMETERS <span class="number">0x0000_0020
</span>}

<span class="macro">const_ordinary!</span> { CF: u32;
<span class="macro">const_ordinary!</span> { CF: u16;
<span class="doccomment">/// Standard clipboard
/// [formats](https://learn.microsoft.com/en-us/windows/win32/dataxchg/standard-clipboard-formats)
/// (`u32`).
/// (`u16`).
</span>=&gt;
=&gt;
TEXT <span class="number">1
Expand Down
4 changes: 2 additions & 2 deletions src/winsafe/user/funcs.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@
/// * [`SetClipboardData`](crate::SetClipboardData)
</span><span class="attr">#[must_use]
</span><span class="kw">pub unsafe fn </span>GetClipboardData(format: co::CF) -&gt; SysResult&lt;<span class="kw-2">*mut </span>u8&gt; {
ptr_to_sysresult(ffi::GetClipboardData(format.raw()))
ptr_to_sysresult(ffi::GetClipboardData(format.raw() <span class="kw">as _</span>))
.map(|hmem| hmem <span class="kw">as </span><span class="kw-2">*mut </span><span class="kw">_ as _</span>)
}

Expand Down Expand Up @@ -2030,7 +2030,7 @@
hmem: <span class="kw-2">*mut </span>u8,
) -&gt; SysResult&lt;<span class="kw-2">*mut </span>u8&gt;
{
ptr_to_sysresult(ffi::SetClipboardData(format.raw(), hmem <span class="kw">as _</span>))
ptr_to_sysresult(ffi::SetClipboardData(format.raw() <span class="kw">as _</span>, hmem <span class="kw">as _</span>))
.map(|hmem| hmem <span class="kw">as </span><span class="kw-2">*mut </span><span class="kw">_ as _</span>)
}

Expand Down
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 winsafe/co/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<a href="https://learn.microsoft.com/en-us/windows/win32/api/commdlg/nf-commdlg-commdlgextendederror">error codes</a>.</div></li><li><div class="item-name"><a class="struct" href="struct.CDIS.html" title="struct winsafe::co::CDIS">CDIS</a><wbr><span class="stab portability" title="Available on crate feature `comctl` only"><code>comctl</code></span></div><div class="desc docblock-short"><a href="../struct.NMCUSTOMDRAW.html" title="struct winsafe::NMCUSTOMDRAW"><code>NMCUSTOMDRAW</code></a> <code>uItemState</code> (<code>u32</code>).</div></li><li><div class="item-name"><a class="struct" href="struct.CDRF.html" title="struct winsafe::co::CDRF">CDRF</a><wbr><span class="stab portability" title="Available on crate feature `comctl` only"><code>comctl</code></span></div><div class="desc docblock-short"><a href="https://learn.microsoft.com/en-us/windows/win32/controls/nm-customdraw"><code>NM_CUSTOMDRAW</code></a>
return value (<code>u32</code>).</div></li><li><div class="item-name"><a class="struct" href="struct.CDS.html" title="struct winsafe::co::CDS">CDS</a><wbr><span class="stab portability" title="Available on crate feature `user` only"><code>user</code></span></div><div class="desc docblock-short"><a href="../fn.ChangeDisplaySettings.html" title="fn winsafe::ChangeDisplaySettings"><code>ChangeDisplaySettings</code></a> <code>flags</code> (<code>u32</code>).</div></li><li><div class="item-name"><a class="struct" href="struct.CF.html" title="struct winsafe::co::CF">CF</a><wbr><span class="stab portability" title="Available on crate feature `user` only"><code>user</code></span></div><div class="desc docblock-short">Standard clipboard
<a href="https://learn.microsoft.com/en-us/windows/win32/dataxchg/standard-clipboard-formats">formats</a>
(<code>u32</code>).</div></li><li><div class="item-name"><a class="struct" href="struct.CHARSET.html" title="struct winsafe::co::CHARSET">CHARSET</a><wbr><span class="stab portability" title="Available on crate feature `gdi` only"><code>gdi</code></span></div><div class="desc docblock-short"><a href="../prelude/trait.gdi_Hfont.html#method.CreateFont" title="associated function winsafe::prelude::gdi_Hfont::CreateFont"><code>HFONT::CreateFont</code></a> <code>char_set</code>
(<code>u16</code>).</div></li><li><div class="item-name"><a class="struct" href="struct.CHARSET.html" title="struct winsafe::co::CHARSET">CHARSET</a><wbr><span class="stab portability" title="Available on crate feature `gdi` only"><code>gdi</code></span></div><div class="desc docblock-short"><a href="../prelude/trait.gdi_Hfont.html#method.CreateFont" title="associated function winsafe::prelude::gdi_Hfont::CreateFont"><code>HFONT::CreateFont</code></a> <code>char_set</code>
and <a href="../struct.LOGFONT.html" title="struct winsafe::LOGFONT"><code>LOGFONT</code></a> <code>lfCharset</code> (<code>u8</code>).</div></li><li><div class="item-name"><a class="struct" href="struct.CLAIM_SECURITY_ATTRIBUTE.html" title="struct winsafe::co::CLAIM_SECURITY_ATTRIBUTE">CLAI<wbr>M_<wbr>SECURIT<wbr>Y_<wbr>ATTRIBUTE</a></div><div class="desc docblock-short"><a href="../struct.CLAIM_SECURITY_ATTRIBUTE_V1.html" title="struct winsafe::CLAIM_SECURITY_ATTRIBUTE_V1"><code>CLAIM_SECURITY_ATTRIBUTE_V1</code></a>
<code>Flags</code> (<code>u16</code>);</div></li><li><div class="item-name"><a class="struct" href="struct.CLAIM_SECURITY_ATTRIBUTE_TYPE.html" title="struct winsafe::co::CLAIM_SECURITY_ATTRIBUTE_TYPE">CLAI<wbr>M_<wbr>SECURIT<wbr>Y_<wbr>ATTRIBUT<wbr>E_<wbr>TYPE</a></div><div class="desc docblock-short"><a href="../struct.CLAIM_SECURITY_ATTRIBUTE_V1.html" title="struct winsafe::CLAIM_SECURITY_ATTRIBUTE_V1"><code>CLAIM_SECURITY_ATTRIBUTE_V1</code></a>
<code>ValueType</code> (<code>u16</code>);</div></li><li><div class="item-name"><a class="struct" href="struct.CLIP.html" title="struct winsafe::co::CLIP">CLIP</a><wbr><span class="stab portability" title="Available on crate feature `gdi` only"><code>gdi</code></span></div><div class="desc docblock-short"><a href="../prelude/trait.gdi_Hfont.html#method.CreateFont" title="associated function winsafe::prelude::gdi_Hfont::CreateFont"><code>HFONT::CreateFont</code></a>
Expand Down
12 changes: 6 additions & 6 deletions winsafe/co/struct.CF.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion winsafe/prelude/trait.IntUnderlying.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion winsafe/prelude/trait.VariableSized.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
elements, whose amount is stored in a specific field. The elements are
accessed by reaching the past-struct memory room.</p>
<p>Structs of this kind are managed through a <a href="../guard/index.html" title="mod winsafe::guard">guard</a>.</p>
</div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-VariableSized-for-BITMAPINFO" class="impl"><a class="src rightside" href="../../src/winsafe/gdi/structs.rs.html#64">source</a><a href="#impl-VariableSized-for-BITMAPINFO" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.BITMAPINFO.html" title="struct winsafe::BITMAPINFO">BITMAPINFO</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>gdi</code></strong> only.</div></span></section><section id="impl-VariableSized-for-DVTARGETDEVICE" class="impl"><a class="src rightside" href="../../src/winsafe/ole/structs.rs.html#135">source</a><a href="#impl-VariableSized-for-DVTARGETDEVICE" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.DVTARGETDEVICE.html" title="struct winsafe::DVTARGETDEVICE">DVTARGETDEVICE</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>ole</code></strong> only.</div></span></section><section id="impl-VariableSized-for-LOGPALETTE" class="impl"><a class="src rightside" href="../../src/winsafe/gdi/structs.rs.html#181">source</a><a href="#impl-VariableSized-for-LOGPALETTE" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.LOGPALETTE.html" title="struct winsafe::LOGPALETTE">LOGPALETTE</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>gdi</code></strong> only.</div></span></section><section id="impl-VariableSized-for-POWERBROADCAST_SETTING" class="impl"><a class="src rightside" href="../../src/winsafe/kernel\structs/structs_other.rs.html#440">source</a><a href="#impl-VariableSized-for-POWERBROADCAST_SETTING" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.POWERBROADCAST_SETTING.html" title="struct winsafe::POWERBROADCAST_SETTING">POWERBROADCAST_SETTING</a></h3></section><section id="impl-VariableSized-for-SID" class="impl"><a class="src rightside" href="../../src/winsafe/advapi/structs.rs.html#194">source</a><a href="#impl-VariableSized-for-SID" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.SID.html" title="struct winsafe::SID">SID</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>advapi</code></strong> only.</div></span></section><section id="impl-VariableSized-for-TOKEN_PRIVILEGES" class="impl"><a class="src rightside" href="../../src/winsafe/advapi/structs.rs.html#519">source</a><a href="#impl-VariableSized-for-TOKEN_PRIVILEGES" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.TOKEN_PRIVILEGES.html" title="struct winsafe::TOKEN_PRIVILEGES">TOKEN_PRIVILEGES</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>advapi</code></strong> only.</div></span></section><section id="impl-VariableSized-for-TOKEN_GROUPS%3C'a%3E" class="impl"><a class="src rightside" href="../../src/winsafe/advapi/structs.rs.html#383">source</a><a href="#impl-VariableSized-for-TOKEN_GROUPS%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.TOKEN_GROUPS.html" title="struct winsafe::TOKEN_GROUPS">TOKEN_GROUPS</a>&lt;'a&gt;</h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>advapi</code></strong> only.</div></span></section></div><script src="../../trait.impl/winsafe/kernel/base_traits/trait.VariableSized.js" async></script></section></div></main></body></html>
</div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-VariableSized-for-BITMAPINFO" class="impl"><a class="src rightside" href="../../src/winsafe/gdi/structs.rs.html#64">source</a><a href="#impl-VariableSized-for-BITMAPINFO" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.BITMAPINFO.html" title="struct winsafe::BITMAPINFO">BITMAPINFO</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>gdi</code></strong> only.</div></span></section><section id="impl-VariableSized-for-DVTARGETDEVICE" class="impl"><a class="src rightside" href="../../src/winsafe/ole/structs.rs.html#124">source</a><a href="#impl-VariableSized-for-DVTARGETDEVICE" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.DVTARGETDEVICE.html" title="struct winsafe::DVTARGETDEVICE">DVTARGETDEVICE</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>ole</code></strong> only.</div></span></section><section id="impl-VariableSized-for-LOGPALETTE" class="impl"><a class="src rightside" href="../../src/winsafe/gdi/structs.rs.html#181">source</a><a href="#impl-VariableSized-for-LOGPALETTE" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.LOGPALETTE.html" title="struct winsafe::LOGPALETTE">LOGPALETTE</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>gdi</code></strong> only.</div></span></section><section id="impl-VariableSized-for-POWERBROADCAST_SETTING" class="impl"><a class="src rightside" href="../../src/winsafe/kernel\structs/structs_other.rs.html#440">source</a><a href="#impl-VariableSized-for-POWERBROADCAST_SETTING" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.POWERBROADCAST_SETTING.html" title="struct winsafe::POWERBROADCAST_SETTING">POWERBROADCAST_SETTING</a></h3></section><section id="impl-VariableSized-for-SID" class="impl"><a class="src rightside" href="../../src/winsafe/advapi/structs.rs.html#194">source</a><a href="#impl-VariableSized-for-SID" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.SID.html" title="struct winsafe::SID">SID</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>advapi</code></strong> only.</div></span></section><section id="impl-VariableSized-for-TOKEN_PRIVILEGES" class="impl"><a class="src rightside" href="../../src/winsafe/advapi/structs.rs.html#519">source</a><a href="#impl-VariableSized-for-TOKEN_PRIVILEGES" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.TOKEN_PRIVILEGES.html" title="struct winsafe::TOKEN_PRIVILEGES">TOKEN_PRIVILEGES</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>advapi</code></strong> only.</div></span></section><section id="impl-VariableSized-for-TOKEN_GROUPS%3C'a%3E" class="impl"><a class="src rightside" href="../../src/winsafe/advapi/structs.rs.html#383">source</a><a href="#impl-VariableSized-for-TOKEN_GROUPS%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.VariableSized.html" title="trait winsafe::prelude::VariableSized">VariableSized</a> for <a class="struct" href="../struct.TOKEN_GROUPS.html" title="struct winsafe::TOKEN_GROUPS">TOKEN_GROUPS</a>&lt;'a&gt;</h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>advapi</code></strong> only.</div></span></section></div><script src="../../trait.impl/winsafe/kernel/base_traits/trait.VariableSized.js" async></script></section></div></main></body></html>
Loading

0 comments on commit 36e1569

Please sign in to comment.