pub enum LockoutMode {
Off = 0,
On = 1,
Group = 2,
}Expand description
Channel lockout mode for scan operations.
Maps to the lockout field in the ME command.
Per User Manual Chapter 9: lockout can be set individually for all 1000 memory channels but cannot be set for program scan memory (L0/U0 through L49/U49). The lockout icon appears to the right of the channel number when a locked-out channel is recalled. Lockout cannot be toggled in VFO or CALL channel mode.
Variants§
Off = 0
Not locked out (index 0).
On = 1
Locked out of scan (index 1).
Group = 2
Group lockout (index 2).
Implementations§
Trait Implementations§
Source§impl Clone for LockoutMode
impl Clone for LockoutMode
Source§fn clone(&self) -> LockoutMode
fn clone(&self) -> LockoutMode
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 LockoutMode
impl Debug for LockoutMode
Source§impl Display for LockoutMode
impl Display for LockoutMode
Source§impl From<LockoutMode> for u8
impl From<LockoutMode> for u8
Source§fn from(mode: LockoutMode) -> Self
fn from(mode: LockoutMode) -> Self
Converts to this type from the input type.
Source§impl Hash for LockoutMode
impl Hash for LockoutMode
Source§impl PartialEq for LockoutMode
impl PartialEq for LockoutMode
Source§impl TryFrom<u8> for LockoutMode
impl TryFrom<u8> for LockoutMode
impl Copy for LockoutMode
impl Eq for LockoutMode
impl StructuralPartialEq for LockoutMode
Auto Trait Implementations§
impl Freeze for LockoutMode
impl RefUnwindSafe for LockoutMode
impl Send for LockoutMode
impl Sync for LockoutMode
impl Unpin for LockoutMode
impl UnwindSafe for LockoutMode
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