Docs.rs
rustradio-0.16.1
rustradio 0.16.1
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
ThomasHabets
Dependencies
async-trait ^0.1
normal
cpal ^0.15
normal
optional
fast-math ^0.1
normal
optional
fftw ^0.8
normal
optional
itertools ^0.13
normal
libc ^0.2.149
normal
log ^0.4
normal
nix ^0.30.1
normal
optional
num-complex ^0.4
normal
pipewire ^0.8.0
normal
optional
rayon ^1.10
normal
rtlsdr ^0.1.4
normal
optional
rustfft ^6.2
normal
rustradio_macros ^0.16.1
normal
serde ^1.0
normal
serde_json ^1.0
normal
sha2 ^0.10
normal
soapysdr ^0.4.2
normal
optional
tar ^0.4
normal
tempfile ^3.19
normal
thiserror ^2.0
normal
tokio ^1.44
normal
optional
volk ^0.2
normal
optional
wasm-bindgen ^0.2.100
normal
optional
web-sys ^0.3.77
normal
optional
anyhow ^1.0
dev
chrono ^0.4
dev
clap ^4
dev
crossterm ^0.29
dev
ctrlc ^3.4
dev
humantime ^2.2.0
dev
rand ^0.9.1
dev
ratatui ^0.30
dev
stderrlog ^0.6
dev
Versions
84.22%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Float
rustradio
0.16.1
Float
Trait Implementations
Clamp
Sample
Type
In crate rustradio
rustradio
Type Alias
Float
Copy item path
Source
pub type Float =
f32
;
Expand description
Float type used. Usually f32, but not guaranteed.
Trait Implementations
§
Source
§
impl
Clamp
for
Float
Source
§
fn
clamp
(&self, mi:
Float
, mx:
Float
) -> Self
Return clamped value.
Source
§
impl
Sample
for
Float
Source
§
type
Type
=
f32
The type of the sample.
Source
§
fn
size
() ->
usize
The serialized size of one sample.
Source
§
fn
parse
(data: &[
u8
]) ->
Result
<Self::
Type
>
Parse one sample.
Read more
Source
§
fn
serialize
(&self) ->
Vec
<
u8
>
ⓘ
Serialize one sample.
Source
§
impl
Type
for
Float
Source
§
fn
type_string
() -> &'static
str
Return full type, or endianness prefix of the type.