#[repr(isize)]pub enum CecDeviceType {
Tv = 0,
RecordingDevice = 1,
Reserved = 2,
Tuner = 3,
PlaybackDevice = 4,
AudioSystem = 5,
}
Variants§
Implementations§
Source§impl CecDeviceType
impl CecDeviceType
pub fn repr(&self) -> cec_device_type
pub fn from_repr(x: cec_device_type) -> Option<CecDeviceType>
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 Hash for CecDeviceType
impl Hash for CecDeviceType
Source§impl PartialEq for CecDeviceType
impl PartialEq for CecDeviceType
impl Copy for CecDeviceType
impl Eq for CecDeviceType
impl StructuralPartialEq for CecDeviceType
Auto Trait Implementations§
impl Freeze for CecDeviceType
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