#[non_exhaustive]#[repr(u8)]pub enum AnalogueBroadcastType {
Cable = 0,
Satellite = 1,
Terrestrial = 2,
}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.
Trait Implementations§
Source§impl Clone for AnalogueBroadcastType
impl Clone for AnalogueBroadcastType
Source§fn clone(&self) -> AnalogueBroadcastType
fn clone(&self) -> AnalogueBroadcastType
Returns a duplicate of the value. Read more
1.0.0 · 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 AnalogueBroadcastType
impl Debug for AnalogueBroadcastType
Source§impl From<AnalogueBroadcastType> for u8
impl From<AnalogueBroadcastType> for u8
Source§fn from(enum_value: AnalogueBroadcastType) -> Self
fn from(enum_value: AnalogueBroadcastType) -> Self
Converts to this type from the input type.
Source§impl Hash for AnalogueBroadcastType
impl Hash for AnalogueBroadcastType
Source§impl PartialEq for AnalogueBroadcastType
impl PartialEq for AnalogueBroadcastType
Source§impl TryFrom<u8> for AnalogueBroadcastType
impl TryFrom<u8> for AnalogueBroadcastType
Source§type Error = TryFromPrimitiveError<AnalogueBroadcastType>
type Error = TryFromPrimitiveError<AnalogueBroadcastType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for AnalogueBroadcastType
impl TryFromPrimitive for AnalogueBroadcastType
const NAME: &'static str = "AnalogueBroadcastType"
type Primitive = u8
type Error = TryFromPrimitiveError<AnalogueBroadcastType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for AnalogueBroadcastType
impl Eq for AnalogueBroadcastType
impl StructuralPartialEq for AnalogueBroadcastType
Auto Trait Implementations§
impl Freeze for AnalogueBroadcastType
impl RefUnwindSafe for AnalogueBroadcastType
impl Send for AnalogueBroadcastType
impl Sync for AnalogueBroadcastType
impl Unpin for AnalogueBroadcastType
impl UnsafeUnpin for AnalogueBroadcastType
impl UnwindSafe for AnalogueBroadcastType
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