Enum cec_rs::CecUserControlCode
source · #[repr(u32)]pub enum CecUserControlCode {
Show 88 variants
Select,
Up,
Down,
Left,
Right,
RightUp,
RightDown,
LeftUp,
LeftDown,
RootMenu,
SetupMenu,
ContentsMenu,
FavoriteMenu,
Exit,
TopMenu,
DvdMenu,
NumberEntryMode,
Number11,
Number12,
Number0,
Number1,
Number2,
Number3,
Number4,
Number5,
Number6,
Number7,
Number8,
Number9,
Dot,
Enter,
Clear,
NextFavorite,
ChannelUp,
ChannelDown,
PreviousChannel,
SoundSelect,
InputSelect,
DisplayInformation,
Help,
PageUp,
PageDown,
Power,
VolumeUp,
VolumeDown,
Mute,
Play,
Stop,
Pause,
Record,
Rewind,
FastForward,
Eject,
Forward,
Backward,
StopRecord,
PauseRecord,
Angle,
SubPicture,
VideoOnDemand,
ElectronicProgramGuide,
TimerProgramming,
InitialConfiguration,
SelectBroadcastType,
SelectSoundPresentation,
PlayFunction,
PausePlayFunction,
RecordFunction,
PauseRecordFunction,
StopFunction,
MuteFunction,
RestoreVolumeFunction,
TuneFunction,
SelectMediaFunction,
SelectAvInputFunction,
SelectAudioInputFunction,
PowerToggleFunction,
PowerOffFunction,
PowerOnFunction,
F1Blue,
F2Red,
F3Green,
F4Yellow,
F5,
Data,
AnReturn,
AnChannelsList,
Unknown,
}
Variants§
Select
Up
Down
Left
Right
RightUp
RightDown
LeftUp
LeftDown
RootMenu
SetupMenu
ContentsMenu
FavoriteMenu
Exit
TopMenu
DvdMenu
NumberEntryMode
Number11
Number12
Number0
Number1
Number2
Number3
Number4
Number5
Number6
Number7
Number8
Number9
Dot
Enter
Clear
NextFavorite
ChannelUp
ChannelDown
PreviousChannel
SoundSelect
InputSelect
DisplayInformation
Help
PageUp
PageDown
Power
VolumeUp
VolumeDown
Mute
Play
Stop
Pause
Record
Rewind
FastForward
Eject
Forward
Backward
StopRecord
PauseRecord
Angle
SubPicture
VideoOnDemand
ElectronicProgramGuide
TimerProgramming
InitialConfiguration
SelectBroadcastType
SelectSoundPresentation
PlayFunction
PausePlayFunction
RecordFunction
PauseRecordFunction
StopFunction
MuteFunction
RestoreVolumeFunction
TuneFunction
SelectMediaFunction
SelectAvInputFunction
SelectAudioInputFunction
PowerToggleFunction
PowerOffFunction
PowerOnFunction
F1Blue
F2Red
F3Green
F4Yellow
F5
Data
AnReturn
AnChannelsList
Unknown
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 From<CecUserControlCode> for u32
impl From<CecUserControlCode> for u32
source§fn from(enum_value: CecUserControlCode) -> Self
fn from(enum_value: CecUserControlCode) -> Self
Converts to this type from the input type.
source§impl Hash for CecUserControlCode
impl Hash for CecUserControlCode
source§impl PartialEq<CecUserControlCode> for CecUserControlCode
impl PartialEq<CecUserControlCode> for CecUserControlCode
source§fn eq(&self, other: &CecUserControlCode) -> bool
fn eq(&self, other: &CecUserControlCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for CecUserControlCode
impl TryFrom<u32> for CecUserControlCode
impl Copy for CecUserControlCode
impl Eq for CecUserControlCode
impl StructuralEq for CecUserControlCode
impl StructuralPartialEq for CecUserControlCode
Auto Trait Implementations§
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