Enum cec_linux::CecLogAddrType
source · #[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 copy 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§fn eq(&self, other: &CecLogAddrType) -> bool
fn eq(&self, other: &CecLogAddrType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for CecLogAddrType
impl TryFrom<u8> for CecLogAddrType
§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
type Primitive = u8
type Error = TryFromPrimitiveError<CecLogAddrType>
const NAME: &'static str = "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 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