pub struct ChannelFlag {
pub used: u8,
pub lockout: bool,
pub group: u8,
}Expand description
A single channel’s flag data (4 bytes per channel at MCP offset 0x2000+).
Fields§
§used: u8Band indicator: 0xFF = empty, 0x00 = VHF, 0x01 = 220 MHz, 0x02 = UHF.
lockout: booltrue if the channel is locked out from scanning.
group: u8Bank/group assignment (0-29, 30 groups).
Implementations§
Trait Implementations§
Source§impl Clone for ChannelFlag
impl Clone for ChannelFlag
Source§fn clone(&self) -> ChannelFlag
fn clone(&self) -> ChannelFlag
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 ChannelFlag
impl Debug for ChannelFlag
Source§impl PartialEq for ChannelFlag
impl PartialEq for ChannelFlag
impl Copy for ChannelFlag
impl Eq for ChannelFlag
impl StructuralPartialEq for ChannelFlag
Auto Trait Implementations§
impl Freeze for ChannelFlag
impl RefUnwindSafe for ChannelFlag
impl Send for ChannelFlag
impl Sync for ChannelFlag
impl Unpin for ChannelFlag
impl UnwindSafe for ChannelFlag
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