pub enum ProgramType {
Show 32 variants
None = 0,
News = 1,
Information = 2,
Sports = 3,
Talk = 4,
Rock = 5,
ClassicRock = 6,
AdultHits = 7,
SoftRock = 8,
Top40 = 9,
Country = 10,
Oldies = 11,
Soft = 12,
Nostalgia = 13,
Jazz = 14,
Classical = 15,
RhythmAndBlues = 16,
SoftRhythmAndBlues = 17,
ForeignLanguage = 18,
ReligiousMusic = 19,
ReligiousTalk = 20,
Personality = 21,
Public = 22,
College = 23,
Unnasigned1 = 24,
Unnasigned2 = 25,
Unnasigned3 = 26,
Unnasigned4 = 27,
Unnasigned5 = 28,
Weather = 29,
EmergencyTest = 30,
Emergency = 31,
}Variants§
None = 0
News = 1
Information = 2
Sports = 3
Talk = 4
Rock = 5
ClassicRock = 6
AdultHits = 7
SoftRock = 8
Top40 = 9
Country = 10
Oldies = 11
Soft = 12
Nostalgia = 13
Jazz = 14
Classical = 15
RhythmAndBlues = 16
SoftRhythmAndBlues = 17
ForeignLanguage = 18
ReligiousMusic = 19
ReligiousTalk = 20
Personality = 21
Public = 22
College = 23
Unnasigned1 = 24
Unnasigned2 = 25
Unnasigned3 = 26
Unnasigned4 = 27
Unnasigned5 = 28
Weather = 29
EmergencyTest = 30
Emergency = 31
Trait Implementations§
Source§impl Clone for ProgramType
impl Clone for ProgramType
Source§fn clone(&self) -> ProgramType
fn clone(&self) -> ProgramType
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 moreSource§impl Debug for ProgramType
impl Debug for ProgramType
Source§impl Default for ProgramType
impl Default for ProgramType
Source§fn default() -> ProgramType
fn default() -> ProgramType
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProgramType
impl PartialEq for ProgramType
Source§fn eq(&self, other: &ProgramType) -> bool
fn eq(&self, other: &ProgramType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Specifier for ProgramType
impl Specifier for ProgramType
const STRUCT: bool = #[bits = 5] pub enum ProgramType { #[default] None = 0, News = 1, Information = 2, Sports = 3, Talk = 4, Rock = 5, ClassicRock = 6, AdultHits = 7, SoftRock = 8, Top40 = 9, Country = 10, Oldies = 11, Soft = 12, Nostalgia = 13, Jazz = 14, Classical = 15, RhythmAndBlues = 16, SoftRhythmAndBlues = 17, ForeignLanguage = 18, ReligiousMusic = 19, ReligiousTalk = 20, Personality = 21, Public = 22, College = 23, Unnasigned1 = 24, Unnasigned2 = 25, Unnasigned3 = 26, Unnasigned4 = 27, Unnasigned5 = 28, Weather = 29, EmergencyTest = 30, Emergency = 31, }
Source§type InOut = ProgramType
type InOut = ProgramType
The interface type of the specifier. Read more
Source§fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts some bytes into the in-out type. Read more
Source§fn from_bytes(
bytes: Self::Bytes,
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
fn from_bytes( bytes: Self::Bytes, ) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
Converts the given bytes into the in-out type. Read more
impl Copy for ProgramType
impl Eq for ProgramType
impl StructuralPartialEq for ProgramType
Auto Trait Implementations§
impl Freeze for ProgramType
impl RefUnwindSafe for ProgramType
impl Send for ProgramType
impl Sync for ProgramType
impl Unpin for ProgramType
impl UnsafeUnpin for ProgramType
impl UnwindSafe for ProgramType
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