#[repr(isize)]pub enum CecAdapterType {
Unknown = 0,
P8External = 1,
P8Daughterboard = 2,
Rpi = 256,
Tda995x = 512,
Exynos = 768,
Linux = 1_024,
Aocec = 1_280,
Imx = 1_536,
}
Variants§
Unknown = 0
P8External = 1
P8Daughterboard = 2
Rpi = 256
Tda995x = 512
Exynos = 768
Linux = 1_024
Aocec = 1_280
Imx = 1_536
Implementations§
Source§impl CecAdapterType
impl CecAdapterType
pub fn repr(&self) -> cec_adapter_type
pub fn from_repr(x: cec_adapter_type) -> Option<CecAdapterType>
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 Hash for CecAdapterType
impl Hash for CecAdapterType
Source§impl PartialEq for CecAdapterType
impl PartialEq for CecAdapterType
impl Copy for CecAdapterType
impl Eq for CecAdapterType
impl StructuralPartialEq for CecAdapterType
Auto Trait Implementations§
impl Freeze for CecAdapterType
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