#[repr(u8)]pub enum CecPrimDevType {
TV = 0,
RECORD = 1,
TUNER = 3,
PLAYBACK = 4,
AUDIOSYSTEM = 5,
SWITCH = 6,
PROCESSOR = 7,
}Expand description
Primary Device Type Operand (prim_devtype)
Variants§
Trait Implementations§
Source§impl Clone for CecPrimDevType
impl Clone for CecPrimDevType
Source§fn clone(&self) -> CecPrimDevType
fn clone(&self) -> CecPrimDevType
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 CecPrimDevType
impl Debug for CecPrimDevType
Source§impl From<CecPrimDevType> for u8
impl From<CecPrimDevType> for u8
Source§fn from(enum_value: CecPrimDevType) -> Self
fn from(enum_value: CecPrimDevType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CecPrimDevType
impl PartialEq for CecPrimDevType
Source§impl TryFrom<u8> for CecPrimDevType
impl TryFrom<u8> for CecPrimDevType
Source§type Error = TryFromPrimitiveError<CecPrimDevType>
type Error = TryFromPrimitiveError<CecPrimDevType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for CecPrimDevType
impl TryFromPrimitive for CecPrimDevType
const NAME: &'static str = "CecPrimDevType"
type Primitive = u8
type Error = TryFromPrimitiveError<CecPrimDevType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for CecPrimDevType
impl Eq for CecPrimDevType
impl StructuralPartialEq for CecPrimDevType
Auto Trait Implementations§
impl Freeze for CecPrimDevType
impl RefUnwindSafe for CecPrimDevType
impl Send for CecPrimDevType
impl Sync for CecPrimDevType
impl Unpin for CecPrimDevType
impl UnwindSafe for CecPrimDevType
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