pub enum IqFormat {
Cu8,
Cs8,
Cs16,
Cf32,
}Expand description
I/Q Data Format
Represents the different formats for I/Q sample data. Each variant corresponds to a specific data type and encoding used for representing complex samples.
Variants§
Cu8
Complex unsigned 8-bit (Cu8)
Two bytes per sample: I (unsigned 8-bit), Q (unsigned 8-bit) Values range from 0-255, with 127.5 representing zero
Cs8
Complex signed 8-bit (Cs8)
Two bytes per sample: I (signed 8-bit), Q (signed 8-bit) Values range from -128 to 127
Cs16
Complex signed 16-bit little-endian (Cs16)
Four bytes per sample: I (signed 16-bit LE), Q (signed 16-bit LE) Values range from -32768 to 32767
Cf32
Complex 32-bit float little-endian (Cf32)
Eight bytes per sample: I (32-bit float LE), Q (32-bit float LE) Normalized float values
Trait Implementations§
impl Copy for IqFormat
impl Eq for IqFormat
impl StructuralPartialEq for IqFormat
Auto Trait Implementations§
impl Freeze for IqFormat
impl RefUnwindSafe for IqFormat
impl Send for IqFormat
impl Sync for IqFormat
impl Unpin for IqFormat
impl UnwindSafe for IqFormat
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