updated docs

This commit is contained in:
ZennDev1337 2023-09-12 22:20:06 +02:00
parent 063ed9301f
commit b174a3ae7f
16 changed files with 79 additions and 77 deletions

View file

@ -148,7 +148,10 @@
<a href="#148" id="148">148</a>
<a href="#149" id="149">149</a>
<a href="#150" id="150">150</a>
<a href="#151" id="151">151</a>
<a href="#152" id="152">152</a>
</pre></div><pre class="rust"><code><span class="doccomment">//!This is the Module to interact in a save way with the ArduboyTones C++ library.
//!
//! You will need to uncomment the ArduboyTones_Library in the import_config.h file.
</span><span class="kw">pub use </span><span class="kw">crate</span>::library::arduboy_tone_pitch;
<span class="kw">use </span>core::ffi::{c_uchar, c_uint, c_ulong};
@ -184,6 +187,7 @@
}
<span class="doccomment">///This is the struct to interact in a save way with the ArduboyTones C++ library.
///
/// You will need to uncomment the ArduboyTones_Library in the import_config.h file.
</span><span class="kw">pub struct </span>ArduboyTones {}
<span class="kw">impl </span>ArduboyTones {

View file

@ -38,7 +38,10 @@
<a href="#38" id="38">38</a>
<a href="#39" id="39">39</a>
<a href="#40" id="40">40</a>
<a href="#41" id="41">41</a>
<a href="#42" id="42">42</a>
</pre></div><pre class="rust"><code><span class="doccomment">//! This is the Module to interact in a save way with the ArdVoice C++ library.
//!
//! You will need to uncomment the ArdVoice_Library in the import_config.h file.
</span><span class="kw">use </span>core::ffi::{c_float, c_uchar, c_ulong};
@ -59,6 +62,7 @@
</span><span class="kw">fn </span>ardvoice_is_voice_playing_raw() -&gt; bool;
}
<span class="doccomment">///This is the struct to interact in a save way with the ArdVoice C++ library.
///
///You will need to uncomment the ArdVoice_Library in the import_config.h file.
</span><span class="kw">pub struct </span>ArdVoice {}
<span class="kw">impl </span>ArdVoice {