pub struct SyncBlock {
pub start_symbol: u32,
pub pattern: &'static [u8],
}Expand description
One Costas / pilot block: a contiguous run of tones starting at a specific symbol index within the frame.
FT8 has three identical blocks (positions 0/36/72, same Costas-7 pattern);
FT4 has four different blocks (positions 0/33/66/99, each a permutation
of [0,1,2,3]). The trait is shaped to accommodate both.
Fields§
§start_symbol: u32Symbol index (0-based) where this block starts.
pattern: &'static [u8]Tone sequence for this block. pattern.len() is the block length.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncBlock
impl RefUnwindSafe for SyncBlock
impl Send for SyncBlock
impl Sync for SyncBlock
impl Unpin for SyncBlock
impl UnsafeUnpin for SyncBlock
impl UnwindSafe for SyncBlock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more