Struct maia_httpd::sigmf::Datatype
source · pub struct Datatype {
pub field: Field,
pub format: SampleFormat,
}
Expand description
SigMF datatype.
A datatype is formed by a field, which can be either real or complex, and a sample format.
Fields§
§field: Field
Datatype field.
This indicates if the signal is complex (IQ) or real.
format: SampleFormat
Datatype sample format.
The sample format indicates the width and format (floating point or integer) of the samples.
Trait Implementations§
source§impl From<RecorderMode> for Datatype
impl From<RecorderMode> for Datatype
source§fn from(value: RecorderMode) -> Datatype
fn from(value: RecorderMode) -> Datatype
Converts to this type from the input type.
source§impl PartialEq for Datatype
impl PartialEq for Datatype
impl Copy for Datatype
impl Eq for Datatype
impl StructuralPartialEq for Datatype
Auto Trait Implementations§
impl RefUnwindSafe for Datatype
impl Send for Datatype
impl Sync for Datatype
impl Unpin for Datatype
impl UnwindSafe for Datatype
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.