#[repr(u16)]
pub enum Consumer {
Show 365 variants Unassigned, ConsumerControl, NumericKeyPad, ProgrammableButtons, Microphone, Headphone, GraphicEqualizer, Plus10, Plus100, AmPm, Power, Reset, Sleep, SleepAfter, SleepMode, Illumination, FunctionButtons, Menu, MenuPick, MenuUp, MenuDown, MenuLeft, MenuRight, MenuEscape, MenuValueIncrease, MenuValueDecrease, DataOnScreen, ClosedCaption, ClosedCaptionSelect, VcrTv, BroadcastMode, Snapshot, Still, Selection, AssignSelection, ModeStep, RecallLast, EnterChannel, OrderMovie, Channel, MediaSelection, MediaSelectComputer, MediaSelectTV, MediaSelectWWW, MediaSelectDVD, MediaSelectTelephone, MediaSelectProgramGuide, MediaSelectVideoPhone, MediaSelectGames, MediaSelectMessages, MediaSelectCD, MediaSelectVCR, MediaSelectTuner, Quit, Help, MediaSelectTape, MediaSelectCable, MediaSelectSatellite, MediaSelectSecurity, MediaSelectHome, MediaSelectCall, ChannelIncrement, ChannelDecrement, MediaSelectSAP, VCRPlus, Once, Daily, Weekly, Monthly, Play, Pause, Record, FastForward, Rewind, ScanNextTrack, ScanPreviousTrack, Stop, Eject, RandomPlay, SelectDisc, EnterDisc, Repeat, Tracking, TrackNormal, SlowTracking, FrameForward, FrameBack, Mark, ClearMark, RepeatFromMark, ReturnToMark, SearchMarkForward, SearchMarkBackwards, CounterReset, ShowCounter, TrackingIncrement, TrackingDecrement, StopEject, PlayPause, PlaySkip, Volume, Balance, Mute, Bass, Treble, BassBoost, SurroundMode, Loudness, MPX, VolumeIncrement, VolumeDecrement, SpeedSelect, PlaybackSpeed, StandardPlay, LongPlay, ExtendedPlay, Slow, FanEnable, FanSpeed, LightEnable, LightIlluminationLevel, ClimateControlEnable, RoomTemperature, SecurityEnable, FireAlarm, PoliceAlarm, Proximity, Motion, DuressAlarm, HoldupAlarm, MedicalAlarm, BalanceRight, BalanceLeft, BassIncrement, BassDecrement, TrebleIncrement, TrebleDecrement, SpeakerSystem, ChannelLeft, ChannelRight, ChannelCenter, ChannelFront, ChannelCenterFront, ChannelSide, ChannelSurround, ChannelLowFrequencyEnhancement, ChannelTop, ChannelUnknown, SubChannel, SubChannelIncrement, SubChannelDecrement, AlternateAudioIncrement, AlternateAudioDecrement, ApplicationLaunchButtons, ALLaunchButtonConfigurationTool, ALProgrammableButtonConfiguration, ALConsumerControlConfiguration, ALWordProcessor, ALTextEditor, ALSpreadsheet, ALGraphicsEditor, ALPresentationApp, ALDatabaseApp, ALEmailReader, ALNewsreader, ALVoicemail, ALContactsAddressBook, ALCalendarSchedule, ALTaskProjectManager, ALLogJournalTimecard, ALCheckbookFinance, ALCalculator, ALAvCapturePlayback, ALLocalMachineBrowser, ALLanWanBrowser, ALInternetBrowser, ALRemoteNetworkingISPConnect, ALNetworkConference, ALNetworkChat, ALTelephonyDialer, ALLogon, ALLogoff, ALLogonLogoff, ALTerminalLockScreensaver, ALControlPanel, ALCommandLineProcessorRun, ALProcessTaskManager, ALSelectTaskApplication, ALNextTaskApplication, ALPreviousTaskApplication, ALPreemptiveHaltTaskApplication, ALIntegratedHelpCenter, ALDocuments, ALThesaurus, ALDictionary, ALDesktop, ALSpellCheck, ALGrammarCheck, ALWirelessStatus, ALKeyboardLayout, ALVirusProtection, ALEncryption, ALScreenSaver, ALAlarms, ALClock, ALFileBrowser, ALPowerStatus, ALImageBrowser, ALAudioBrowser, ALMovieBrowser, ALDigitalRightsManager, ALDigitalWallet, ALInstantMessaging, ALOemFeaturesTipsTutorialBrowser, ALOemHelp, ALOnlineCommunity, ALEntertainmentContentBrowser, ALOnlineShoppingBrowser, ALSmartCardInformationHelp, ALMarketMonitorFinanceBrowser, ALCustomizedCorporateNewsBrowser, ALOnlineActivityBrowser, ALResearchSearchBrowser, ALAudioPlayer, GenericGUIApplicationControls, ACNew, ACOpen, ACClose, ACExit, ACMaximize, ACMinimize, ACSave, ACPrint, ACProperties, ACUndo, ACCopy, ACCut, ACPaste, ACSelectAll, ACFind, ACFindAndReplace, ACSearch, ACGoTo, ACHome, ACBack, ACForward, ACStop, ACRefresh, ACPreviousLink, ACNextLink, ACBookmarks, ACHistory, ACSubscriptions, ACZoomIn, ACZoomOut, ACZoom, ACFullScreenView, ACNormalView, ACViewToggle, ACScrollUp, ACScrollDown, ACScroll, ACPanLeft, ACPanRight, ACPan, ACNewWindow, ACTileHorizontally, ACTileVertically, ACFormat, ACEdit, ACBold, ACItalics, ACUnderline, ACStrikethrough, ACSubscript, ACSuperscript, ACAllCaps, ACRotate, ACResize, ACFlipHorizontal, ACFlipVertical, ACMirrorHorizontal, ACMirrorVertical, ACFontSelect, ACFontColor, ACFontSize, ACJustifyLeft, ACJustifyCenterH, ACJustifyRight, ACJustifyBlockH, ACJustifyTop, ACJustifyCenterV, ACJustifyBottom, ACJustifyBlockV, ACIndentDecrease, ACIndentIncrease, ACNumberedList, ACRestartNumbering, ACBulletedList, ACPromote, ACDemote, ACYes, ACNo, ACCancel, ACCatalog, ACBuyCheckout, ACAddToCart, ACExpand, ACExpandAll, ACCollapse, ACCollapseAll, ACPrintPreview, ACPasteSpecial, ACInsertMode, ACDelete, ACLock, ACUnlock, ACProtect, ACUnprotect, ACAttachComment, ACDeleteComment, ACViewComment, ACSelectWord, ACSelectSentence, ACSelectParagraph, ACSelectColumn, ACSelectRow, ACSelectTable, ACSelectObject, ACRedoRepeat, ACSort, ACSortAscending, ACSortDescending, ACFilter, ACSetClock, ACViewClock, ACSelectTimeZone, ACEditTimeZones, ACSetAlarm, ACClearAlarm, ACSnoozeAlarm, ACResetAlarm, ACSynchronize, ACSendReceive, ACSendTo, ACReply, ACReplyAll, ACForwardMsg, ACSend, ACAttachFile, ACUpload, ACDownloadSaveTargetAs, ACSetBorders, ACInsertRow, ACInsertColumn, ACInsertFile, ACInsertPicture, ACInsertObject, ACInsertSymbol, ACSaveAndClose, ACRename, ACMerge, ACSplit, ACDistributeHorizontally, ACDistributeVertically,
}
Expand description

Consumer usage page

See Universal Serial Bus (USB) HID Usage Tables Version 1.12: Section 15 Consumer Page (0x0C)

Variants

Unassigned

ConsumerControl

NumericKeyPad

ProgrammableButtons

Microphone

Headphone

GraphicEqualizer

Plus10

Plus100

AmPm

Power

Reset

Sleep

SleepAfter

SleepMode

Illumination

FunctionButtons

Menu

MenuPick

MenuUp

MenuDown

MenuLeft

MenuRight

MenuEscape

MenuValueIncrease

MenuValueDecrease

DataOnScreen

ClosedCaption

ClosedCaptionSelect

VcrTv

BroadcastMode

Snapshot

Still

Selection

AssignSelection

ModeStep

RecallLast

EnterChannel

OrderMovie

Channel

MediaSelection

MediaSelectComputer

MediaSelectTV

MediaSelectWWW

MediaSelectDVD

MediaSelectTelephone

MediaSelectProgramGuide

MediaSelectVideoPhone

MediaSelectGames

MediaSelectMessages

MediaSelectCD

MediaSelectVCR

MediaSelectTuner

Quit

Help

MediaSelectTape

MediaSelectCable

MediaSelectSatellite

MediaSelectSecurity

MediaSelectHome

MediaSelectCall

ChannelIncrement

ChannelDecrement

MediaSelectSAP

VCRPlus

Once

Daily

Weekly

Monthly

Play

Pause

Record

FastForward

Rewind

ScanNextTrack

ScanPreviousTrack

Stop

Eject

RandomPlay

SelectDisc

EnterDisc

Repeat

Tracking

TrackNormal

SlowTracking

FrameForward

FrameBack

Mark

ClearMark

RepeatFromMark

ReturnToMark

SearchMarkForward

SearchMarkBackwards

CounterReset

ShowCounter

TrackingIncrement

TrackingDecrement

StopEject

PlayPause

PlaySkip

Volume

Balance

Mute

Bass

Treble

BassBoost

SurroundMode

Loudness

MPX

VolumeIncrement

VolumeDecrement

SpeedSelect

PlaybackSpeed

StandardPlay

LongPlay

ExtendedPlay

Slow

FanEnable

FanSpeed

LightEnable

LightIlluminationLevel

ClimateControlEnable

RoomTemperature

SecurityEnable

FireAlarm

PoliceAlarm

Proximity

Motion

DuressAlarm

HoldupAlarm

MedicalAlarm

BalanceRight

BalanceLeft

BassIncrement

BassDecrement

TrebleIncrement

TrebleDecrement

SpeakerSystem

ChannelLeft

ChannelRight

ChannelCenter

ChannelFront

ChannelCenterFront

ChannelSide

ChannelSurround

ChannelLowFrequencyEnhancement

ChannelTop

ChannelUnknown

SubChannel

SubChannelIncrement

SubChannelDecrement

AlternateAudioIncrement

AlternateAudioDecrement

ApplicationLaunchButtons

ALLaunchButtonConfigurationTool

ALProgrammableButtonConfiguration

ALConsumerControlConfiguration

ALWordProcessor

ALTextEditor

ALSpreadsheet

ALGraphicsEditor

ALPresentationApp

ALDatabaseApp

ALEmailReader

ALNewsreader

ALVoicemail

ALContactsAddressBook

ALCalendarSchedule

ALTaskProjectManager

ALLogJournalTimecard

ALCheckbookFinance

ALCalculator

ALAvCapturePlayback

ALLocalMachineBrowser

ALLanWanBrowser

ALInternetBrowser

ALRemoteNetworkingISPConnect

ALNetworkConference

ALNetworkChat

ALTelephonyDialer

ALLogon

ALLogoff

ALLogonLogoff

ALTerminalLockScreensaver

ALControlPanel

ALCommandLineProcessorRun

ALProcessTaskManager

ALSelectTaskApplication

ALNextTaskApplication

ALPreviousTaskApplication

ALPreemptiveHaltTaskApplication

ALIntegratedHelpCenter

ALDocuments

ALThesaurus

ALDictionary

ALDesktop

ALSpellCheck

ALGrammarCheck

ALWirelessStatus

ALKeyboardLayout

ALVirusProtection

ALEncryption

ALScreenSaver

ALAlarms

ALClock

ALFileBrowser

ALPowerStatus

ALImageBrowser

ALAudioBrowser

ALMovieBrowser

ALDigitalRightsManager

ALDigitalWallet

ALInstantMessaging

ALOemFeaturesTipsTutorialBrowser

ALOemHelp

ALOnlineCommunity

ALEntertainmentContentBrowser

ALOnlineShoppingBrowser

ALSmartCardInformationHelp

ALMarketMonitorFinanceBrowser

ALCustomizedCorporateNewsBrowser

ALOnlineActivityBrowser

ALResearchSearchBrowser

ALAudioPlayer

GenericGUIApplicationControls

ACNew

ACOpen

ACClose

ACExit

ACMaximize

ACMinimize

ACSave

ACPrint

ACProperties

ACUndo

ACCopy

ACCut

ACPaste

ACSelectAll

ACFind

ACFindAndReplace

ACSearch

ACGoTo

ACHome

ACBack

ACForward

ACStop

ACRefresh

ACBookmarks

ACHistory

ACSubscriptions

ACZoomIn

ACZoomOut

ACZoom

ACFullScreenView

ACNormalView

ACViewToggle

ACScrollUp

ACScrollDown

ACScroll

ACPanLeft

ACPanRight

ACPan

ACNewWindow

ACTileHorizontally

ACTileVertically

ACFormat

ACEdit

ACBold

ACItalics

ACUnderline

ACStrikethrough

ACSubscript

ACSuperscript

ACAllCaps

ACRotate

ACResize

ACFlipHorizontal

ACFlipVertical

ACMirrorHorizontal

ACMirrorVertical

ACFontSelect

ACFontColor

ACFontSize

ACJustifyLeft

ACJustifyCenterH

ACJustifyRight

ACJustifyBlockH

ACJustifyTop

ACJustifyCenterV

ACJustifyBottom

ACJustifyBlockV

ACIndentDecrease

ACIndentIncrease

ACNumberedList

ACRestartNumbering

ACBulletedList

ACPromote

ACDemote

ACYes

ACNo

ACCancel

ACCatalog

ACBuyCheckout

ACAddToCart

ACExpand

ACExpandAll

ACCollapse

ACCollapseAll

ACPrintPreview

ACPasteSpecial

ACInsertMode

ACDelete

ACLock

ACUnlock

ACProtect

ACUnprotect

ACAttachComment

ACDeleteComment

ACViewComment

ACSelectWord

ACSelectSentence

ACSelectParagraph

ACSelectColumn

ACSelectRow

ACSelectTable

ACSelectObject

ACRedoRepeat

ACSort

ACSortAscending

ACSortDescending

ACFilter

ACSetClock

ACViewClock

ACSelectTimeZone

ACEditTimeZones

ACSetAlarm

ACClearAlarm

ACSnoozeAlarm

ACResetAlarm

ACSynchronize

ACSendReceive

ACSendTo

ACReply

ACReplyAll

ACForwardMsg

ACSend

ACAttachFile

ACUpload

ACDownloadSaveTargetAs

ACSetBorders

ACInsertRow

ACInsertColumn

ACInsertFile

ACInsertPicture

ACInsertObject

ACInsertSymbol

ACSaveAndClose

ACRename

ACMerge

ACSplit

ACDistributeHorizontally

ACDistributeVertically

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Converts to this type from the input type.

Converts to this type from the input type.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

The primitve type into which we serialize and deserialize ourselves.

Convert from a primitive, might fail.

Convert to a primitive value.

Convert from a string value representing the variant. Case sensitive.

Convert from a string value representing the variant. Lowercase.

Display value, same as the name of a particular variant.

A list all possible string variants.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Converts self into T using Into<T>. Read more

Extract a subset of the possible types in a coproduct (or get the remaining possibilities) Read more

Causes self to use its Binary implementation when Debug-formatted.

Causes self to use its Display implementation when Debug-formatted. Read more

Causes self to use its LowerExp implementation when Debug-formatted. Read more

Causes self to use its LowerHex implementation when Debug-formatted. Read more

Causes self to use its Octal implementation when Debug-formatted.

Causes self to use its Pointer implementation when Debug-formatted. Read more

Causes self to use its UpperExp implementation when Debug-formatted. Read more

Causes self to use its UpperHex implementation when Debug-formatted. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Performs the indexed conversion.

Pipes by value. This is generally the method you want to use. Read more

Borrows self and passes that borrow into the pipe function. Read more

Mutably borrows self and passes that borrow into the pipe function. Read more

Borrows self, then passes self.borrow() into the pipe function. Read more

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more

Borrows self, then passes self.as_ref() into the pipe function.

Mutably borrows self, then passes self.as_mut() into the pipe function. Read more

Borrows self, then passes self.deref() into the pipe function.

Mutably borrows self, then passes self.deref_mut() into the pipe function. Read more

Consumes the current HList and returns an HList with the requested shape. Read more

Immutable access to a value. Read more

Mutable access to a value. Read more

Immutable access to the Borrow<B> of a value. Read more

Mutable access to the BorrowMut<B> of a value. Read more

Immutable access to the AsRef<R> view of a value. Read more

Mutable access to the AsMut<R> view of a value. Read more

Immutable access to the Deref::Target of a value. Read more

Mutable access to the Deref::Target of a value. Read more

Calls .tap() only in debug builds, and is erased in release builds.

Calls .tap_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref_mut() only in debug builds, and is erased in release builds. Read more

Attempts to convert self into T using TryInto<T>. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.