pub struct PilotTable { /* private fields */ }Expand description
The pilots of a grid given one by one: their positions and their values (the sequences, phases and power boosts that a standard prescribes).
Implementations§
Source§impl PilotTable
impl PilotTable
Sourcepub fn new(
n_subcarriers: usize,
n_symbols: usize,
pilots: impl IntoIterator<Item = ((usize, usize), C64)>,
) -> Result<PilotTable>
pub fn new( n_subcarriers: usize, n_symbols: usize, pilots: impl IntoIterator<Item = ((usize, usize), C64)>, ) -> Result<PilotTable>
A table of n_subcarriers × n_symbols REs with pilots ((k, l), value); a
position given twice keeps its last value.
§Errors
Error::Config for an empty grid, a position outside it or a pilot of zero or
non-finite value.
Sourcepub fn n_subcarriers(&self) -> usize
pub fn n_subcarriers(&self) -> usize
Subcarriers of the table.
Trait Implementations§
Source§impl Clone for PilotTable
impl Clone for PilotTable
Source§impl Debug for PilotTable
impl Debug for PilotTable
Source§impl PartialEq for PilotTable
impl PartialEq for PilotTable
impl StructuralPartialEq for PilotTable
Auto Trait Implementations§
impl Forget for PilotTable
impl Freeze for PilotTable
impl RefUnwindSafe for PilotTable
impl Send for PilotTable
impl Sync for PilotTable
impl Unpin for PilotTable
impl UnsafeUnpin for PilotTable
impl UnwindSafe for PilotTable
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