pub enum SpeakerMode {
On,
Off,
Unknown(u32),
}Expand description
Station speaker state selected by call control.
Variants§
On
Off
Unknown(u32)
Preserves an SCCP numeric value not recognized by this crate. Allows newer or vendor-specific values to round-trip without loss.
Implementations§
Trait Implementations§
Source§impl Clone for SpeakerMode
impl Clone for SpeakerMode
Source§fn clone(&self) -> SpeakerMode
fn clone(&self) -> SpeakerMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpeakerMode
Source§impl Debug for SpeakerMode
impl Debug for SpeakerMode
impl Eq for SpeakerMode
Source§impl From<SpeakerMode> for u32
impl From<SpeakerMode> for u32
Source§fn from(value: SpeakerMode) -> Self
fn from(value: SpeakerMode) -> Self
Converts to this type from the input type.
Source§impl From<u32> for SpeakerMode
impl From<u32> for SpeakerMode
Source§impl Hash for SpeakerMode
impl Hash for SpeakerMode
Source§impl PartialEq for SpeakerMode
impl PartialEq for SpeakerMode
impl StructuralPartialEq for SpeakerMode
Auto Trait Implementations§
impl Freeze for SpeakerMode
impl RefUnwindSafe for SpeakerMode
impl Send for SpeakerMode
impl Sync for SpeakerMode
impl Unpin for SpeakerMode
impl UnsafeUnpin for SpeakerMode
impl UnwindSafe for SpeakerMode
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