Type

Trait Type 

Source
pub trait Type {
    // Required method
    fn type_string() -> &'static str;
}
Expand description

Trait that needs implementing for all supported SigMF data types.

Required Methods§

Source

fn type_string() -> &'static str

Return full type, or endianness prefix of the type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Type for i32

Source§

fn type_string() -> &'static str

Source§

impl Type for u8

Source§

fn type_string() -> &'static str

Source§

impl Type for Complex<i32>

Source§

fn type_string() -> &'static str

Implementors§

Source§

impl Type for rustradio::Complex

Source§

impl Type for Float