pub enum ToneDirection {
User,
Network,
Both,
Unknown(u32),
}Expand description
Media direction in which a station should play a tone.
Variants§
User
Network
Both
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 ToneDirection
impl Clone for ToneDirection
Source§fn clone(&self) -> ToneDirection
fn clone(&self) -> ToneDirection
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 ToneDirection
Source§impl Debug for ToneDirection
impl Debug for ToneDirection
impl Eq for ToneDirection
Source§impl From<ToneDirection> for u32
impl From<ToneDirection> for u32
Source§fn from(value: ToneDirection) -> Self
fn from(value: ToneDirection) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ToneDirection
impl From<u32> for ToneDirection
Source§impl Hash for ToneDirection
impl Hash for ToneDirection
Source§impl PartialEq for ToneDirection
impl PartialEq for ToneDirection
impl StructuralPartialEq for ToneDirection
Auto Trait Implementations§
impl Freeze for ToneDirection
impl RefUnwindSafe for ToneDirection
impl Send for ToneDirection
impl Sync for ToneDirection
impl Unpin for ToneDirection
impl UnsafeUnpin for ToneDirection
impl UnwindSafe for ToneDirection
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