#[repr(isize)]pub enum CecUserControlCode {
Show 88 variants
Select = 0,
Up = 1,
Down = 2,
Left = 3,
Right = 4,
RightUp = 5,
RightDown = 6,
LeftUp = 7,
LeftDown = 8,
RootMenu = 9,
SetupMenu = 10,
ContentsMenu = 11,
FavoriteMenu = 12,
Exit = 13,
TopMenu = 16,
DvdMenu = 17,
NumberEntryMode = 29,
Number11 = 30,
Number12 = 31,
Number0 = 32,
Number1 = 33,
Number2 = 34,
Number3 = 35,
Number4 = 36,
Number5 = 37,
Number6 = 38,
Number7 = 39,
Number8 = 40,
Number9 = 41,
Dot = 42,
Enter = 43,
Clear = 44,
NextFavorite = 47,
ChannelUp = 48,
ChannelDown = 49,
PreviousChannel = 50,
SoundSelect = 51,
InputSelect = 52,
DisplayInformation = 53,
Help = 54,
PageUp = 55,
PageDown = 56,
Power = 64,
VolumeUp = 65,
VolumeDown = 66,
Mute = 67,
Play = 68,
Stop = 69,
Pause = 70,
Record = 71,
Rewind = 72,
FastForward = 73,
Eject = 74,
Forward = 75,
Backward = 76,
StopRecord = 77,
PauseRecord = 78,
Angle = 80,
SubPicture = 81,
VideoOnDemand = 82,
ElectronicProgramGuide = 83,
TimerProgramming = 84,
InitialConfiguration = 85,
SelectBroadcastType = 86,
SelectSoundPresentation = 87,
PlayFunction = 96,
PausePlayFunction = 97,
RecordFunction = 98,
PauseRecordFunction = 99,
StopFunction = 100,
MuteFunction = 101,
RestoreVolumeFunction = 102,
TuneFunction = 103,
SelectMediaFunction = 104,
SelectAvInputFunction = 105,
SelectAudioInputFunction = 106,
PowerToggleFunction = 107,
PowerOffFunction = 108,
PowerOnFunction = 109,
F1Blue = 113,
F2Red = 114,
F3Green = 115,
F4Yellow = 116,
F5 = 117,
Data = 118,
AnReturn = 145,
AnChannelsList = 150,
Unknown = 255,
}
Variants§
Select = 0
Up = 1
Down = 2
Left = 3
Right = 4
RightUp = 5
RightDown = 6
LeftUp = 7
LeftDown = 8
RootMenu = 9
SetupMenu = 10
ContentsMenu = 11
FavoriteMenu = 12
Exit = 13
TopMenu = 16
DvdMenu = 17
NumberEntryMode = 29
Number11 = 30
Number12 = 31
Number0 = 32
Number1 = 33
Number2 = 34
Number3 = 35
Number4 = 36
Number5 = 37
Number6 = 38
Number7 = 39
Number8 = 40
Number9 = 41
Dot = 42
Enter = 43
Clear = 44
NextFavorite = 47
ChannelUp = 48
ChannelDown = 49
PreviousChannel = 50
SoundSelect = 51
InputSelect = 52
DisplayInformation = 53
Help = 54
PageUp = 55
PageDown = 56
Power = 64
VolumeUp = 65
VolumeDown = 66
Mute = 67
Play = 68
Stop = 69
Pause = 70
Record = 71
Rewind = 72
FastForward = 73
Eject = 74
Forward = 75
Backward = 76
StopRecord = 77
PauseRecord = 78
Angle = 80
SubPicture = 81
VideoOnDemand = 82
ElectronicProgramGuide = 83
TimerProgramming = 84
InitialConfiguration = 85
SelectBroadcastType = 86
SelectSoundPresentation = 87
PlayFunction = 96
PausePlayFunction = 97
RecordFunction = 98
PauseRecordFunction = 99
StopFunction = 100
MuteFunction = 101
RestoreVolumeFunction = 102
TuneFunction = 103
SelectMediaFunction = 104
SelectAvInputFunction = 105
SelectAudioInputFunction = 106
PowerToggleFunction = 107
PowerOffFunction = 108
PowerOnFunction = 109
F1Blue = 113
F2Red = 114
F3Green = 115
F4Yellow = 116
F5 = 117
Data = 118
AnReturn = 145
AnChannelsList = 150
Unknown = 255
Implementations§
Source§impl CecUserControlCode
impl CecUserControlCode
pub fn repr(&self) -> cec_user_control_code
pub fn from_repr(x: cec_user_control_code) -> Option<CecUserControlCode>
Trait Implementations§
Source§impl Clone for CecUserControlCode
impl Clone for CecUserControlCode
Source§fn clone(&self) -> CecUserControlCode
fn clone(&self) -> CecUserControlCode
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 CecUserControlCode
impl Debug for CecUserControlCode
Source§impl Hash for CecUserControlCode
impl Hash for CecUserControlCode
Source§impl PartialEq for CecUserControlCode
impl PartialEq for CecUserControlCode
impl Copy for CecUserControlCode
impl Eq for CecUserControlCode
impl StructuralPartialEq for CecUserControlCode
Auto Trait Implementations§
impl Freeze for CecUserControlCode
impl RefUnwindSafe for CecUserControlCode
impl Send for CecUserControlCode
impl Sync for CecUserControlCode
impl Unpin for CecUserControlCode
impl UnwindSafe for CecUserControlCode
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