Docs.rs
rustradio-0.4.3
rustradio 0.4.3
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
ThomasHabets
Dependencies
anyhow ^1.0.75
normal
fast-math ^0.1.1
normal
optional
libc ^0.2.149
normal
log ^0.4.20
normal
num-complex ^0.4.4
normal
rtlsdr ^0.1.4
normal
optional
rustfft ^6.1.0
normal
serde ^1.0.196
normal
serde_json ^1.0.113
normal
soapysdr ^0.4.0
normal
optional
tempfile ^3.8.0
normal
ctrlc ^3.4.1
dev
stderrlog ^0.6.0
dev
structopt ^0.3.26
dev
Versions
100%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
rustradio
0.4.3
Float
Trait Implementations
MinMax
Sample
Type
In crate rustradio
?
Settings
Type Alias
rustradio
::
Float
Copy item path
source
·
[
−
]
pub type Float =
f32
;
Expand description
Float type used. Usually f32, but not guaranteed.
Trait Implementations
§
source
§
impl
MinMax
for
Float
source
§
fn
max
(&self, r:
Float
) -> Self
Return max of two values.
source
§
fn
min
(&self, r:
Float
) -> Self
Return min of two values.
source
§
impl
Sample
for
Float
§
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.
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.