Enum maia_httpd::sigmf::SampleFormat
source · pub enum SampleFormat {
F32(Endianness),
F64(Endianness),
I32(Endianness),
I16(Endianness),
U32(Endianness),
U16(Endianness),
I8,
U8,
}
Expand description
Sample format.
The sample format indicates the width and type (floating point or integer) of the numbers used to represent the signal samples.
Variants§
F32(Endianness)
32-bit IEEE 754 floating point.
F64(Endianness)
64-bit IEEE 754 floating point.
I32(Endianness)
32-bit signed integer.
I16(Endianness)
16-bit signed integer.
U32(Endianness)
32-bit unsigned integer.
U16(Endianness)
16-bit unsigned integer.
I8
8-bit signed integer.
U8
8-bit unsigned integer.
Trait Implementations§
source§impl Clone for SampleFormat
impl Clone for SampleFormat
source§fn clone(&self) -> SampleFormat
fn clone(&self) -> SampleFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SampleFormat
impl Debug for SampleFormat
source§impl Hash for SampleFormat
impl Hash for SampleFormat
source§impl PartialEq for SampleFormat
impl PartialEq for SampleFormat
source§fn eq(&self, other: &SampleFormat) -> bool
fn eq(&self, other: &SampleFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SampleFormat
impl Eq for SampleFormat
impl StructuralPartialEq for SampleFormat
Auto Trait Implementations§
impl RefUnwindSafe for SampleFormat
impl Send for SampleFormat
impl Sync for SampleFormat
impl Unpin for SampleFormat
impl UnwindSafe for SampleFormat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.