Skip to main content

ProgramType

Enum ProgramType 

Source
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 CheckDiscriminantInRange<[(); 7]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 6]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 15]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 23]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 10]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 31]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 30]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 18]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 2]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 14]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 1]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 0]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 13]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 11]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 21]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 22]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 19]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 20]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 16]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 5]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 12]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 17]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 8]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 3]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 4]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 9]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 24]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 25]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 26]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 27]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 28]> for ProgramType

Source§

impl CheckDiscriminantInRange<[(); 29]> for ProgramType

Source§

impl Clone for ProgramType

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for ProgramType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ProgramType

Source§

fn default() -> ProgramType

Returns the “default value” for a type. Read more
Source§

impl PartialEq for ProgramType

Source§

fn eq(&self, other: &ProgramType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Specifier for ProgramType

Source§

const BITS: usize = 5usize

The amount of bits used by the specifier.
Source§

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 Bytes = <[(); 5] as SpecifierBytes>::Bytes

The base type of the specifier. Read more
Source§

type InOut = ProgramType

The interface type of the specifier. Read more
Source§

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>>

Converts the given bytes into the in-out type. Read more
Source§

impl Copy for ProgramType

Source§

impl Eq for ProgramType

Source§

impl StructuralPartialEq for ProgramType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.