#[non_exhaustive]pub enum TeletextType {
InitialPage,
SubtitlePage,
AdditionalInformationPage,
ProgrammeSchedulePage,
HearingImpairedSubtitlePage,
Reserved(u8),
}Expand description
Teletext type — ETSI EN 300 468 Table 102.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InitialPage
0x01 — initial teletext page.
SubtitlePage
0x02 — teletext subtitle page.
AdditionalInformationPage
0x03 — additional information page.
ProgrammeSchedulePage
0x04 — programme schedule page.
HearingImpairedSubtitlePage
0x05 — teletext subtitle page for hearing impaired people.
Reserved(u8)
Reserved/unallocated wire value, preserved verbatim for round-trip.
Implementations§
Source§impl TeletextType
impl TeletextType
Trait Implementations§
Source§impl Clone for TeletextType
impl Clone for TeletextType
Source§fn clone(&self) -> TeletextType
fn clone(&self) -> TeletextType
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 TeletextType
Source§impl Debug for TeletextType
impl Debug for TeletextType
impl Eq for TeletextType
Source§impl PartialEq for TeletextType
impl PartialEq for TeletextType
Source§fn eq(&self, other: &TeletextType) -> bool
fn eq(&self, other: &TeletextType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TeletextType
impl Serialize for TeletextType
impl StructuralPartialEq for TeletextType
Auto Trait Implementations§
impl Freeze for TeletextType
impl RefUnwindSafe for TeletextType
impl Send for TeletextType
impl Sync for TeletextType
impl Unpin for TeletextType
impl UnsafeUnpin for TeletextType
impl UnwindSafe for TeletextType
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