6 lines
6.2 KiB
HTML
6 lines
6.2 KiB
HTML
<!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="Use the Sample trait to remain generic over sample types, easily access sample type conversions, apply basic audio operations and more."><title>dasp_sample - 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-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="dasp_sample" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="../crates.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 mod crate"><!--[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="../dasp_sample/index.html">dasp_<wbr>sample</a><span class="version">0.11.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#reexports">Crate Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"></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"><h1>Crate <span>dasp_sample</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/dasp_sample/lib.rs.html#1-324">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Use the <a href="./trait.Sample.html"><strong>Sample</strong></a> trait to remain generic over sample types, easily
|
|
access sample type conversions, apply basic audio operations and more.</p>
|
|
<p>The <strong>Sample</strong> trait is the core abstraction throughout dasp on which most other abstractions
|
|
are based.</p>
|
|
</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name" id="reexport.Duplex"><code>pub use conv::<a class="trait" href="conv/trait.Duplex.html" title="trait dasp_sample::conv::Duplex">Duplex</a>;</code></div></li><li><div class="item-name" id="reexport.FromSample"><code>pub use conv::<a class="trait" href="conv/trait.FromSample.html" title="trait dasp_sample::conv::FromSample">FromSample</a>;</code></div></li><li><div class="item-name" id="reexport.ToSample"><code>pub use conv::<a class="trait" href="conv/trait.ToSample.html" title="trait dasp_sample::conv::ToSample">ToSample</a>;</code></div></li><li><div class="item-name" id="reexport.I24"><code>pub use types::<a class="struct" href="types/i24/struct.I24.html" title="struct dasp_sample::types::i24::I24">I24</a>;</code></div></li><li><div class="item-name" id="reexport.I48"><code>pub use types::<a class="struct" href="types/i48/struct.I48.html" title="struct dasp_sample::types::i48::I48">I48</a>;</code></div></li><li><div class="item-name" id="reexport.U24"><code>pub use types::<a class="struct" href="types/u24/struct.U24.html" title="struct dasp_sample::types::u24::U24">U24</a>;</code></div></li><li><div class="item-name" id="reexport.U48"><code>pub use types::<a class="struct" href="types/u48/struct.U48.html" title="struct dasp_sample::types::u48::U48">U48</a>;</code></div></li></ul><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="conv/index.html" title="mod dasp_sample::conv">conv</a></div><div class="desc docblock-short">Pure functions and traits for converting between i8, i16, I24, i32, I48, i64, u8, u16, U24,
|
|
u32, U48, u64, f32 and f64.</div></li><li><div class="item-name"><a class="mod" href="types/index.html" title="mod dasp_sample::types">types</a></div><div class="desc docblock-short">A collection of custom, non-std <strong>Sample</strong> types.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.FloatSample.html" title="trait dasp_sample::FloatSample">Float<wbr>Sample</a></div><div class="desc docblock-short">Sample format types represented as floating point numbers.</div></li><li><div class="item-name"><a class="trait" href="trait.Sample.html" title="trait dasp_sample::Sample">Sample</a></div><div class="desc docblock-short">A trait for working generically across different <strong>Sample</strong> format types.</div></li><li><div class="item-name"><a class="trait" href="trait.SignedSample.html" title="trait dasp_sample::SignedSample">Signed<wbr>Sample</a></div><div class="desc docblock-short">Integral and floating-point <strong>Sample</strong> format types whose equilibrium is at 0.</div></li></ul></section></div></main></body></html> |