#[repr(isize)]pub enum CecLogicalAddress {
Show 17 variants
Unknown = -1,
Tv = 0,
Recordingdevice1 = 1,
Recordingdevice2 = 2,
Tuner1 = 3,
Playbackdevice1 = 4,
Audiosystem = 5,
Tuner2 = 6,
Tuner3 = 7,
Playbackdevice2 = 8,
Recordingdevice3 = 9,
Tuner4 = 10,
Playbackdevice3 = 11,
Reserved1 = 12,
Reserved2 = 13,
Freeuse = 14,
Unregistered = 15,
}
Variants§
Unknown = -1
Tv = 0
Recordingdevice1 = 1
Recordingdevice2 = 2
Tuner1 = 3
Playbackdevice1 = 4
Audiosystem = 5
Tuner2 = 6
Tuner3 = 7
Playbackdevice2 = 8
Recordingdevice3 = 9
Tuner4 = 10
Playbackdevice3 = 11
Reserved1 = 12
Reserved2 = 13
Freeuse = 14
Unregistered = 15
Implementations§
Source§impl CecLogicalAddress
impl CecLogicalAddress
pub fn repr(&self) -> cec_logical_address
pub fn from_repr(x: cec_logical_address) -> Option<CecLogicalAddress>
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<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 for CecLogicalAddress
impl PartialEq for CecLogicalAddress
impl Copy for CecLogicalAddress
impl Eq for CecLogicalAddress
impl StructuralPartialEq for CecLogicalAddress
Auto Trait Implementations§
impl Freeze for CecLogicalAddress
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