Enum cec_rs::CecAdapterType
source · #[repr(u32)]pub enum CecAdapterType {
Unknown,
P8External,
P8Daughterboard,
Rpi,
Tda995x,
Exynos,
Linux,
Aocec,
Imx,
}
Variants§
Trait Implementations§
source§impl Clone for CecAdapterType
impl Clone for CecAdapterType
source§fn clone(&self) -> CecAdapterType
fn clone(&self) -> CecAdapterType
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 CecAdapterType
impl Debug for CecAdapterType
source§impl From<CecAdapterType> for u32
impl From<CecAdapterType> for u32
source§fn from(enum_value: CecAdapterType) -> Self
fn from(enum_value: CecAdapterType) -> Self
Converts to this type from the input type.
source§impl Hash for CecAdapterType
impl Hash for CecAdapterType
source§impl PartialEq<CecAdapterType> for CecAdapterType
impl PartialEq<CecAdapterType> for CecAdapterType
source§fn eq(&self, other: &CecAdapterType) -> bool
fn eq(&self, other: &CecAdapterType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for CecAdapterType
impl TryFrom<u32> for CecAdapterType
impl Copy for CecAdapterType
impl Eq for CecAdapterType
impl StructuralEq for CecAdapterType
impl StructuralPartialEq for CecAdapterType
Auto Trait Implementations§
impl RefUnwindSafe for CecAdapterType
impl Send for CecAdapterType
impl Sync for CecAdapterType
impl Unpin for CecAdapterType
impl UnwindSafe for CecAdapterType
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