#[non_exhaustive]#[repr(u8)]pub enum BroadcastSystem {
PalBG = 0,
SecamLq = 1,
PalM = 2,
NtscM = 3,
PalI = 4,
SecamDK = 5,
SecamBG = 6,
SecamL = 7,
PalDK = 8,
Other = 31,
}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.
PalBG = 0
PAL-B/G
SecamLq = 1
SECAM-L’
PalM = 2
PAL-M
NtscM = 3
NTSC-M
PalI = 4
PAL-I
SecamDK = 5
SECAM-D/K
SecamBG = 6
SECAM-B/G
SecamL = 7
SECAM-L
PalDK = 8
PAL-D/K
Other = 31
Trait Implementations§
Source§impl Clone for BroadcastSystem
impl Clone for BroadcastSystem
Source§fn clone(&self) -> BroadcastSystem
fn clone(&self) -> BroadcastSystem
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 BroadcastSystem
impl Debug for BroadcastSystem
Source§impl From<BroadcastSystem> for u8
impl From<BroadcastSystem> for u8
Source§fn from(enum_value: BroadcastSystem) -> Self
fn from(enum_value: BroadcastSystem) -> Self
Converts to this type from the input type.
Source§impl Hash for BroadcastSystem
impl Hash for BroadcastSystem
Source§impl OperandEncodable for BroadcastSystem
impl OperandEncodable for BroadcastSystem
Source§impl PartialEq for BroadcastSystem
impl PartialEq for BroadcastSystem
Source§impl TryFrom<u8> for BroadcastSystem
impl TryFrom<u8> for BroadcastSystem
Source§type Error = TryFromPrimitiveError<BroadcastSystem>
type Error = TryFromPrimitiveError<BroadcastSystem>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for BroadcastSystem
impl TryFromPrimitive for BroadcastSystem
const NAME: &'static str = "BroadcastSystem"
type Primitive = u8
type Error = TryFromPrimitiveError<BroadcastSystem>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BroadcastSystem
impl Eq for BroadcastSystem
impl StructuralPartialEq for BroadcastSystem
Auto Trait Implementations§
impl Freeze for BroadcastSystem
impl RefUnwindSafe for BroadcastSystem
impl Send for BroadcastSystem
impl Sync for BroadcastSystem
impl Unpin for BroadcastSystem
impl UnsafeUnpin for BroadcastSystem
impl UnwindSafe for BroadcastSystem
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