#[non_exhaustive]#[repr(u8)]pub enum UiBroadcastType {
Show 13 variants
ToggleAll = 0,
ToggleDigitalAnalogue = 1,
Analogue = 16,
AnalogueTerrestrial = 32,
AnalogueCable = 48,
AnalogueSatellite = 64,
Digital = 80,
DigitalTerrestrial = 96,
DigitalCable = 112,
DigitalSatellite = 128,
DigitalCommsSatellite = 144,
DigitalCommsSatellite2 = 145,
Ip = 160,
}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.
ToggleAll = 0
ToggleDigitalAnalogue = 1
Analogue = 16
AnalogueTerrestrial = 32
AnalogueCable = 48
AnalogueSatellite = 64
Digital = 80
DigitalTerrestrial = 96
DigitalCable = 112
DigitalSatellite = 128
DigitalCommsSatellite = 144
DigitalCommsSatellite2 = 145
Ip = 160
Trait Implementations§
Source§impl Clone for UiBroadcastType
impl Clone for UiBroadcastType
Source§fn clone(&self) -> UiBroadcastType
fn clone(&self) -> UiBroadcastType
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 UiBroadcastType
impl Debug for UiBroadcastType
Source§impl From<UiBroadcastType> for u8
impl From<UiBroadcastType> for u8
Source§fn from(enum_value: UiBroadcastType) -> Self
fn from(enum_value: UiBroadcastType) -> Self
Converts to this type from the input type.
Source§impl Hash for UiBroadcastType
impl Hash for UiBroadcastType
Source§impl OperandEncodable for UiBroadcastType
impl OperandEncodable for UiBroadcastType
Source§impl PartialEq for UiBroadcastType
impl PartialEq for UiBroadcastType
Source§impl TryFrom<u8> for UiBroadcastType
impl TryFrom<u8> for UiBroadcastType
Source§type Error = TryFromPrimitiveError<UiBroadcastType>
type Error = TryFromPrimitiveError<UiBroadcastType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for UiBroadcastType
impl TryFromPrimitive for UiBroadcastType
const NAME: &'static str = "UiBroadcastType"
type Primitive = u8
type Error = TryFromPrimitiveError<UiBroadcastType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for UiBroadcastType
impl Eq for UiBroadcastType
impl StructuralPartialEq for UiBroadcastType
Auto Trait Implementations§
impl Freeze for UiBroadcastType
impl RefUnwindSafe for UiBroadcastType
impl Send for UiBroadcastType
impl Sync for UiBroadcastType
impl Unpin for UiBroadcastType
impl UnsafeUnpin for UiBroadcastType
impl UnwindSafe for UiBroadcastType
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