pub enum KeyLockType {
KeyOnly,
KeyAndPtt,
KeyPttAndDial,
}Expand description
Key lock type – which controls are affected by key lock (Menu No. 960).
Per User Manual Chapter 12: key lock is toggled by pressing and
holding [F]. The [MONI], [PTT], [Power], and [VOL]
controls can never be locked.
The User Manual lists options as Key Lock and/or Frequency Lock
(checkboxes), with different combined behaviors:
- Key Lock only: locks all front panel keys.
- Frequency Lock only: locks frequency/channel controls.
- Both: locks all keys and the encoder control.
Variants§
KeyOnly
Lock front panel keys only.
KeyAndPtt
Lock front panel keys and PTT.
KeyPttAndDial
Lock front panel keys, PTT, and dial.
Implementations§
Trait Implementations§
Source§impl Clone for KeyLockType
impl Clone for KeyLockType
Source§fn clone(&self) -> KeyLockType
fn clone(&self) -> KeyLockType
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 KeyLockType
impl Debug for KeyLockType
Source§impl From<KeyLockType> for u8
impl From<KeyLockType> for u8
Source§fn from(klt: KeyLockType) -> Self
fn from(klt: KeyLockType) -> Self
Converts to this type from the input type.
Source§impl Hash for KeyLockType
impl Hash for KeyLockType
Source§impl PartialEq for KeyLockType
impl PartialEq for KeyLockType
Source§impl TryFrom<u8> for KeyLockType
impl TryFrom<u8> for KeyLockType
impl Copy for KeyLockType
impl Eq for KeyLockType
impl StructuralPartialEq for KeyLockType
Auto Trait Implementations§
impl Freeze for KeyLockType
impl RefUnwindSafe for KeyLockType
impl Send for KeyLockType
impl Sync for KeyLockType
impl Unpin for KeyLockType
impl UnwindSafe for KeyLockType
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