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