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