pub struct BBSamplesBlock { /* private fields */ }Expand description
BBSamples block (Block ID 4040)
Complex baseband samples for RF monitoring and spectral analysis.
Implementations§
Source§impl BBSamplesBlock
impl BBSamplesBlock
pub fn tow_seconds(&self) -> f64
pub fn tow_ms(&self) -> u32
pub fn wnc(&self) -> u16
pub fn num_samples(&self) -> u16
pub fn info_raw(&self) -> u8
pub fn antenna_id(&self) -> u8
pub fn sample_freq_hz(&self) -> u32
pub fn lo_freq_hz(&self) -> u32
pub fn samples(&self) -> &[BBSample]
pub fn sample_iq(&self, index: usize) -> Option<(i8, i8)>
pub fn tow_delta_seconds(&self) -> Option<f32>
pub fn first_sample_time_seconds(&self) -> Option<f64>
Trait Implementations§
Source§impl Clone for BBSamplesBlock
impl Clone for BBSamplesBlock
Source§fn clone(&self) -> BBSamplesBlock
fn clone(&self) -> BBSamplesBlock
Returns a duplicate 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 BBSamplesBlock
impl Debug for BBSamplesBlock
Auto Trait Implementations§
impl Freeze for BBSamplesBlock
impl RefUnwindSafe for BBSamplesBlock
impl Send for BBSamplesBlock
impl Sync for BBSamplesBlock
impl Unpin for BBSamplesBlock
impl UnsafeUnpin for BBSamplesBlock
impl UnwindSafe for BBSamplesBlock
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