Enum cec_rs::CecLogicalAddress
source · #[repr(i32)]pub enum CecLogicalAddress {
Show 17 variants
Unknown,
Tv,
Recordingdevice1,
Recordingdevice2,
Tuner1,
Playbackdevice1,
Audiosystem,
Tuner2,
Tuner3,
Playbackdevice2,
Recordingdevice3,
Tuner4,
Playbackdevice3,
Reserved1,
Reserved2,
Freeuse,
Unregistered,
}
Variants§
Unknown
Tv
Recordingdevice1
Recordingdevice2
Tuner1
Playbackdevice1
Audiosystem
Tuner2
Tuner3
Playbackdevice2
Recordingdevice3
Tuner4
Playbackdevice3
Reserved1
Reserved2
Freeuse
Unregistered
Trait Implementations§
source§impl Clone for CecLogicalAddress
impl Clone for CecLogicalAddress
source§fn clone(&self) -> CecLogicalAddress
fn clone(&self) -> CecLogicalAddress
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 CecLogicalAddress
impl Debug for CecLogicalAddress
source§impl From<CecLogicalAddress> for i32
impl From<CecLogicalAddress> for i32
source§fn from(enum_value: CecLogicalAddress) -> Self
fn from(enum_value: CecLogicalAddress) -> Self
Converts to this type from the input type.
source§impl From<KnownAndRegisteredCecLogicalAddress> for CecLogicalAddress
impl From<KnownAndRegisteredCecLogicalAddress> for CecLogicalAddress
source§fn from(address: KnownAndRegisteredCecLogicalAddress) -> Self
fn from(address: KnownAndRegisteredCecLogicalAddress) -> Self
Converts to this type from the input type.
source§impl From<KnownCecLogicalAddress> for CecLogicalAddress
impl From<KnownCecLogicalAddress> for CecLogicalAddress
source§fn from(address: KnownCecLogicalAddress) -> Self
fn from(address: KnownCecLogicalAddress) -> Self
Converts to this type from the input type.
source§impl Hash for CecLogicalAddress
impl Hash for CecLogicalAddress
source§impl PartialEq<CecLogicalAddress> for CecLogicalAddress
impl PartialEq<CecLogicalAddress> for CecLogicalAddress
source§fn eq(&self, other: &CecLogicalAddress) -> bool
fn eq(&self, other: &CecLogicalAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<i32> for CecLogicalAddress
impl TryFrom<i32> for CecLogicalAddress
impl Copy for CecLogicalAddress
impl Eq for CecLogicalAddress
impl StructuralEq for CecLogicalAddress
impl StructuralPartialEq for CecLogicalAddress
Auto Trait Implementations§
impl RefUnwindSafe for CecLogicalAddress
impl Send for CecLogicalAddress
impl Sync for CecLogicalAddress
impl Unpin for CecLogicalAddress
impl UnwindSafe for CecLogicalAddress
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