pub struct RadioConfig {
pub header: ConfigHeader,
pub channels: Vec<ChannelEntry>,
pub raw_image: Vec<u8>,
}Expand description
Complete radio configuration from a .d75 file.
This is the top-level structure returned by parse_config.
Fields§
§header: ConfigHeaderThe 256-byte file header.
channels: Vec<ChannelEntry>Parsed memory channels (up to 1000).
Each entry pairs the channel data with its display name and
flags. Unused channels (all-0xFF frequency) are still
present; check ChannelEntry::used to filter.
raw_image: Vec<u8>Raw settings bytes (everything outside the channel regions).
This preserves all data between the header and the channel sections, and after the channel name table, enabling round-trip write-back of settings we do not yet parse.
Trait Implementations§
Source§impl Clone for RadioConfig
impl Clone for RadioConfig
Source§fn clone(&self) -> RadioConfig
fn clone(&self) -> RadioConfig
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 moreAuto Trait Implementations§
impl Freeze for RadioConfig
impl RefUnwindSafe for RadioConfig
impl Send for RadioConfig
impl Sync for RadioConfig
impl Unpin for RadioConfig
impl UnwindSafe for RadioConfig
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