#[repr(u16)]pub enum Consumer {
Show 365 variants
Unassigned = 0,
ConsumerControl = 1,
NumericKeyPad = 2,
ProgrammableButtons = 3,
Microphone = 4,
Headphone = 5,
GraphicEqualizer = 6,
Plus10 = 32,
Plus100 = 33,
AmPm = 34,
Power = 48,
Reset = 49,
Sleep = 50,
SleepAfter = 51,
SleepMode = 52,
Illumination = 53,
FunctionButtons = 54,
Menu = 64,
MenuPick = 65,
MenuUp = 66,
MenuDown = 67,
MenuLeft = 68,
MenuRight = 69,
MenuEscape = 70,
MenuValueIncrease = 71,
MenuValueDecrease = 72,
DataOnScreen = 96,
ClosedCaption = 97,
ClosedCaptionSelect = 98,
VcrTv = 99,
BroadcastMode = 100,
Snapshot = 101,
Still = 102,
Selection = 128,
AssignSelection = 129,
ModeStep = 130,
RecallLast = 131,
EnterChannel = 132,
OrderMovie = 133,
Channel = 134,
MediaSelection = 135,
MediaSelectComputer = 136,
MediaSelectTV = 137,
MediaSelectWWW = 138,
MediaSelectDVD = 139,
MediaSelectTelephone = 140,
MediaSelectProgramGuide = 141,
MediaSelectVideoPhone = 142,
MediaSelectGames = 143,
MediaSelectMessages = 144,
MediaSelectCD = 145,
MediaSelectVCR = 146,
MediaSelectTuner = 147,
Quit = 148,
Help = 149,
MediaSelectTape = 150,
MediaSelectCable = 151,
MediaSelectSatellite = 152,
MediaSelectSecurity = 153,
MediaSelectHome = 154,
MediaSelectCall = 155,
ChannelIncrement = 156,
ChannelDecrement = 157,
MediaSelectSAP = 158,
VCRPlus = 160,
Once = 161,
Daily = 162,
Weekly = 163,
Monthly = 164,
Play = 176,
Pause = 177,
Record = 178,
FastForward = 179,
Rewind = 180,
ScanNextTrack = 181,
ScanPreviousTrack = 182,
Stop = 183,
Eject = 184,
RandomPlay = 185,
SelectDisc = 186,
EnterDisc = 187,
Repeat = 188,
Tracking = 189,
TrackNormal = 190,
SlowTracking = 191,
FrameForward = 192,
FrameBack = 193,
Mark = 194,
ClearMark = 195,
RepeatFromMark = 196,
ReturnToMark = 197,
SearchMarkForward = 198,
SearchMarkBackwards = 199,
CounterReset = 200,
ShowCounter = 201,
TrackingIncrement = 202,
TrackingDecrement = 203,
StopEject = 204,
PlayPause = 205,
PlaySkip = 206,
Volume = 224,
Balance = 225,
Mute = 226,
Bass = 227,
Treble = 228,
BassBoost = 229,
SurroundMode = 230,
Loudness = 231,
MPX = 232,
VolumeIncrement = 233,
VolumeDecrement = 234,
SpeedSelect = 240,
PlaybackSpeed = 241,
StandardPlay = 242,
LongPlay = 243,
ExtendedPlay = 244,
Slow = 245,
FanEnable = 256,
FanSpeed = 257,
LightEnable = 258,
LightIlluminationLevel = 259,
ClimateControlEnable = 260,
RoomTemperature = 261,
SecurityEnable = 262,
FireAlarm = 263,
PoliceAlarm = 264,
Proximity = 265,
Motion = 266,
DuressAlarm = 267,
HoldupAlarm = 268,
MedicalAlarm = 269,
BalanceRight = 336,
BalanceLeft = 337,
BassIncrement = 338,
BassDecrement = 339,
TrebleIncrement = 340,
TrebleDecrement = 341,
SpeakerSystem = 352,
ChannelLeft = 353,
ChannelRight = 354,
ChannelCenter = 355,
ChannelFront = 356,
ChannelCenterFront = 357,
ChannelSide = 358,
ChannelSurround = 359,
ChannelLowFrequencyEnhancement = 360,
ChannelTop = 361,
ChannelUnknown = 362,
SubChannel = 368,
SubChannelIncrement = 369,
SubChannelDecrement = 370,
AlternateAudioIncrement = 371,
AlternateAudioDecrement = 372,
ApplicationLaunchButtons = 384,
ALLaunchButtonConfigurationTool = 385,
ALProgrammableButtonConfiguration = 386,
ALConsumerControlConfiguration = 387,
ALWordProcessor = 388,
ALTextEditor = 389,
ALSpreadsheet = 390,
ALGraphicsEditor = 391,
ALPresentationApp = 392,
ALDatabaseApp = 393,
ALEmailReader = 394,
ALNewsreader = 395,
ALVoicemail = 396,
ALContactsAddressBook = 397,
ALCalendarSchedule = 398,
ALTaskProjectManager = 399,
ALLogJournalTimecard = 400,
ALCheckbookFinance = 401,
ALCalculator = 402,
ALAvCapturePlayback = 403,
ALLocalMachineBrowser = 404,
ALLanWanBrowser = 405,
ALInternetBrowser = 406,
ALRemoteNetworkingISPConnect = 407,
ALNetworkConference = 408,
ALNetworkChat = 409,
ALTelephonyDialer = 410,
ALLogon = 411,
ALLogoff = 412,
ALLogonLogoff = 413,
ALTerminalLockScreensaver = 414,
ALControlPanel = 415,
ALCommandLineProcessorRun = 416,
ALProcessTaskManager = 417,
ALSelectTaskApplication = 418,
ALNextTaskApplication = 419,
ALPreviousTaskApplication = 420,
ALPreemptiveHaltTaskApplication = 421,
ALIntegratedHelpCenter = 422,
ALDocuments = 423,
ALThesaurus = 424,
ALDictionary = 425,
ALDesktop = 426,
ALSpellCheck = 427,
ALGrammarCheck = 428,
ALWirelessStatus = 429,
ALKeyboardLayout = 430,
ALVirusProtection = 431,
ALEncryption = 432,
ALScreenSaver = 433,
ALAlarms = 434,
ALClock = 435,
ALFileBrowser = 436,
ALPowerStatus = 437,
ALImageBrowser = 438,
ALAudioBrowser = 439,
ALMovieBrowser = 440,
ALDigitalRightsManager = 441,
ALDigitalWallet = 442,
ALInstantMessaging = 444,
ALOemFeaturesTipsTutorialBrowser = 445,
ALOemHelp = 446,
ALOnlineCommunity = 447,
ALEntertainmentContentBrowser = 448,
ALOnlineShoppingBrowser = 449,
ALSmartCardInformationHelp = 450,
ALMarketMonitorFinanceBrowser = 451,
ALCustomizedCorporateNewsBrowser = 452,
ALOnlineActivityBrowser = 453,
ALResearchSearchBrowser = 454,
ALAudioPlayer = 455,
GenericGUIApplicationControls = 512,
ACNew = 513,
ACOpen = 514,
ACClose = 515,
ACExit = 516,
ACMaximize = 517,
ACMinimize = 518,
ACSave = 519,
ACPrint = 520,
ACProperties = 521,
ACUndo = 538,
ACCopy = 539,
ACCut = 540,
ACPaste = 541,
ACSelectAll = 542,
ACFind = 543,
ACFindAndReplace = 544,
ACSearch = 545,
ACGoTo = 546,
ACHome = 547,
ACBack = 548,
ACForward = 549,
ACStop = 550,
ACRefresh = 551,
ACPreviousLink = 552,
ACNextLink = 553,
ACBookmarks = 554,
ACHistory = 555,
ACSubscriptions = 556,
ACZoomIn = 557,
ACZoomOut = 558,
ACZoom = 559,
ACFullScreenView = 560,
ACNormalView = 561,
ACViewToggle = 562,
ACScrollUp = 563,
ACScrollDown = 564,
ACScroll = 565,
ACPanLeft = 566,
ACPanRight = 567,
ACPan = 568,
ACNewWindow = 569,
ACTileHorizontally = 570,
ACTileVertically = 571,
ACFormat = 572,
ACEdit = 573,
ACBold = 574,
ACItalics = 575,
ACUnderline = 576,
ACStrikethrough = 577,
ACSubscript = 578,
ACSuperscript = 579,
ACAllCaps = 580,
ACRotate = 581,
ACResize = 582,
ACFlipHorizontal = 583,
ACFlipVertical = 584,
ACMirrorHorizontal = 585,
ACMirrorVertical = 586,
ACFontSelect = 587,
ACFontColor = 588,
ACFontSize = 589,
ACJustifyLeft = 590,
ACJustifyCenterH = 591,
ACJustifyRight = 592,
ACJustifyBlockH = 593,
ACJustifyTop = 594,
ACJustifyCenterV = 595,
ACJustifyBottom = 596,
ACJustifyBlockV = 597,
ACIndentDecrease = 598,
ACIndentIncrease = 599,
ACNumberedList = 600,
ACRestartNumbering = 601,
ACBulletedList = 602,
ACPromote = 603,
ACDemote = 604,
ACYes = 605,
ACNo = 606,
ACCancel = 607,
ACCatalog = 608,
ACBuyCheckout = 609,
ACAddToCart = 610,
ACExpand = 611,
ACExpandAll = 612,
ACCollapse = 613,
ACCollapseAll = 614,
ACPrintPreview = 615,
ACPasteSpecial = 616,
ACInsertMode = 617,
ACDelete = 618,
ACLock = 619,
ACUnlock = 620,
ACProtect = 621,
ACUnprotect = 622,
ACAttachComment = 623,
ACDeleteComment = 624,
ACViewComment = 625,
ACSelectWord = 626,
ACSelectSentence = 627,
ACSelectParagraph = 628,
ACSelectColumn = 629,
ACSelectRow = 630,
ACSelectTable = 631,
ACSelectObject = 632,
ACRedoRepeat = 633,
ACSort = 634,
ACSortAscending = 635,
ACSortDescending = 636,
ACFilter = 637,
ACSetClock = 638,
ACViewClock = 639,
ACSelectTimeZone = 640,
ACEditTimeZones = 641,
ACSetAlarm = 642,
ACClearAlarm = 643,
ACSnoozeAlarm = 644,
ACResetAlarm = 645,
ACSynchronize = 646,
ACSendReceive = 647,
ACSendTo = 648,
ACReply = 649,
ACReplyAll = 650,
ACForwardMsg = 651,
ACSend = 652,
ACAttachFile = 653,
ACUpload = 654,
ACDownloadSaveTargetAs = 655,
ACSetBorders = 656,
ACInsertRow = 657,
ACInsertColumn = 658,
ACInsertFile = 659,
ACInsertPicture = 660,
ACInsertObject = 661,
ACInsertSymbol = 662,
ACSaveAndClose = 663,
ACRename = 664,
ACMerge = 665,
ACSplit = 666,
ACDistributeHorizontally = 667,
ACDistributeVertically = 668,
}
Expand description
Consumer usage page
See Universal Serial Bus (USB) HID Usage Tables Version 1.12: Section 15 Consumer Page (0x0C)
Variants§
Unassigned = 0
ConsumerControl = 1
NumericKeyPad = 2
ProgrammableButtons = 3
Microphone = 4
Headphone = 5
GraphicEqualizer = 6
Plus10 = 32
Plus100 = 33
AmPm = 34
Power = 48
Reset = 49
Sleep = 50
SleepAfter = 51
SleepMode = 52
Illumination = 53
FunctionButtons = 54
Menu = 64
MenuPick = 65
MenuUp = 66
MenuDown = 67
MenuLeft = 68
MenuRight = 69
MenuEscape = 70
MenuValueIncrease = 71
MenuValueDecrease = 72
DataOnScreen = 96
ClosedCaption = 97
ClosedCaptionSelect = 98
VcrTv = 99
BroadcastMode = 100
Snapshot = 101
Still = 102
Selection = 128
AssignSelection = 129
ModeStep = 130
RecallLast = 131
EnterChannel = 132
OrderMovie = 133
Channel = 134
MediaSelection = 135
MediaSelectComputer = 136
MediaSelectTV = 137
MediaSelectWWW = 138
MediaSelectDVD = 139
MediaSelectTelephone = 140
MediaSelectProgramGuide = 141
MediaSelectVideoPhone = 142
MediaSelectGames = 143
MediaSelectMessages = 144
MediaSelectCD = 145
MediaSelectVCR = 146
MediaSelectTuner = 147
Quit = 148
Help = 149
MediaSelectTape = 150
MediaSelectCable = 151
MediaSelectSatellite = 152
MediaSelectSecurity = 153
MediaSelectHome = 154
MediaSelectCall = 155
ChannelIncrement = 156
ChannelDecrement = 157
MediaSelectSAP = 158
VCRPlus = 160
Once = 161
Daily = 162
Weekly = 163
Monthly = 164
Play = 176
Pause = 177
Record = 178
FastForward = 179
Rewind = 180
ScanNextTrack = 181
ScanPreviousTrack = 182
Stop = 183
Eject = 184
RandomPlay = 185
SelectDisc = 186
EnterDisc = 187
Repeat = 188
Tracking = 189
TrackNormal = 190
SlowTracking = 191
FrameForward = 192
FrameBack = 193
Mark = 194
ClearMark = 195
RepeatFromMark = 196
ReturnToMark = 197
SearchMarkForward = 198
SearchMarkBackwards = 199
CounterReset = 200
ShowCounter = 201
TrackingIncrement = 202
TrackingDecrement = 203
StopEject = 204
PlayPause = 205
PlaySkip = 206
Volume = 224
Balance = 225
Mute = 226
Bass = 227
Treble = 228
BassBoost = 229
SurroundMode = 230
Loudness = 231
MPX = 232
VolumeIncrement = 233
VolumeDecrement = 234
SpeedSelect = 240
PlaybackSpeed = 241
StandardPlay = 242
LongPlay = 243
ExtendedPlay = 244
Slow = 245
FanEnable = 256
FanSpeed = 257
LightEnable = 258
LightIlluminationLevel = 259
ClimateControlEnable = 260
RoomTemperature = 261
SecurityEnable = 262
FireAlarm = 263
PoliceAlarm = 264
Proximity = 265
Motion = 266
DuressAlarm = 267
HoldupAlarm = 268
MedicalAlarm = 269
BalanceRight = 336
BalanceLeft = 337
BassIncrement = 338
BassDecrement = 339
TrebleIncrement = 340
TrebleDecrement = 341
SpeakerSystem = 352
ChannelLeft = 353
ChannelRight = 354
ChannelCenter = 355
ChannelFront = 356
ChannelCenterFront = 357
ChannelSide = 358
ChannelSurround = 359
ChannelLowFrequencyEnhancement = 360
ChannelTop = 361
ChannelUnknown = 362
SubChannel = 368
SubChannelIncrement = 369
SubChannelDecrement = 370
AlternateAudioIncrement = 371
AlternateAudioDecrement = 372
ApplicationLaunchButtons = 384
ALLaunchButtonConfigurationTool = 385
ALProgrammableButtonConfiguration = 386
ALConsumerControlConfiguration = 387
ALWordProcessor = 388
ALTextEditor = 389
ALSpreadsheet = 390
ALGraphicsEditor = 391
ALPresentationApp = 392
ALDatabaseApp = 393
ALEmailReader = 394
ALNewsreader = 395
ALVoicemail = 396
ALContactsAddressBook = 397
ALCalendarSchedule = 398
ALTaskProjectManager = 399
ALLogJournalTimecard = 400
ALCheckbookFinance = 401
ALCalculator = 402
ALAvCapturePlayback = 403
ALLocalMachineBrowser = 404
ALLanWanBrowser = 405
ALInternetBrowser = 406
ALRemoteNetworkingISPConnect = 407
ALNetworkConference = 408
ALNetworkChat = 409
ALTelephonyDialer = 410
ALLogon = 411
ALLogoff = 412
ALLogonLogoff = 413
ALTerminalLockScreensaver = 414
ALControlPanel = 415
ALCommandLineProcessorRun = 416
ALProcessTaskManager = 417
ALSelectTaskApplication = 418
ALNextTaskApplication = 419
ALPreviousTaskApplication = 420
ALPreemptiveHaltTaskApplication = 421
ALIntegratedHelpCenter = 422
ALDocuments = 423
ALThesaurus = 424
ALDictionary = 425
ALDesktop = 426
ALSpellCheck = 427
ALGrammarCheck = 428
ALWirelessStatus = 429
ALKeyboardLayout = 430
ALVirusProtection = 431
ALEncryption = 432
ALScreenSaver = 433
ALAlarms = 434
ALClock = 435
ALFileBrowser = 436
ALPowerStatus = 437
ALImageBrowser = 438
ALAudioBrowser = 439
ALMovieBrowser = 440
ALDigitalRightsManager = 441
ALDigitalWallet = 442
ALInstantMessaging = 444
ALOemFeaturesTipsTutorialBrowser = 445
ALOemHelp = 446
ALOnlineCommunity = 447
ALEntertainmentContentBrowser = 448
ALOnlineShoppingBrowser = 449
ALSmartCardInformationHelp = 450
ALMarketMonitorFinanceBrowser = 451
ALCustomizedCorporateNewsBrowser = 452
ALOnlineActivityBrowser = 453
ALResearchSearchBrowser = 454
ALAudioPlayer = 455
GenericGUIApplicationControls = 512
ACNew = 513
ACOpen = 514
ACClose = 515
ACExit = 516
ACMaximize = 517
ACMinimize = 518
ACSave = 519
ACPrint = 520
ACProperties = 521
ACUndo = 538
ACCopy = 539
ACCut = 540
ACPaste = 541
ACSelectAll = 542
ACFind = 543
ACFindAndReplace = 544
ACSearch = 545
ACGoTo = 546
ACHome = 547
ACBack = 548
ACForward = 549
ACStop = 550
ACRefresh = 551
ACPreviousLink = 552
ACNextLink = 553
ACBookmarks = 554
ACHistory = 555
ACSubscriptions = 556
ACZoomIn = 557
ACZoomOut = 558
ACZoom = 559
ACFullScreenView = 560
ACNormalView = 561
ACViewToggle = 562
ACScrollUp = 563
ACScrollDown = 564
ACScroll = 565
ACPanLeft = 566
ACPanRight = 567
ACPan = 568
ACNewWindow = 569
ACTileHorizontally = 570
ACTileVertically = 571
ACFormat = 572
ACEdit = 573
ACBold = 574
ACItalics = 575
ACUnderline = 576
ACStrikethrough = 577
ACSubscript = 578
ACSuperscript = 579
ACAllCaps = 580
ACRotate = 581
ACResize = 582
ACFlipHorizontal = 583
ACFlipVertical = 584
ACMirrorHorizontal = 585
ACMirrorVertical = 586
ACFontSelect = 587
ACFontColor = 588
ACFontSize = 589
ACJustifyLeft = 590
ACJustifyCenterH = 591
ACJustifyRight = 592
ACJustifyBlockH = 593
ACJustifyTop = 594
ACJustifyCenterV = 595
ACJustifyBottom = 596
ACJustifyBlockV = 597
ACIndentDecrease = 598
ACIndentIncrease = 599
ACNumberedList = 600
ACRestartNumbering = 601
ACBulletedList = 602
ACPromote = 603
ACDemote = 604
ACYes = 605
ACNo = 606
ACCancel = 607
ACCatalog = 608
ACBuyCheckout = 609
ACAddToCart = 610
ACExpand = 611
ACExpandAll = 612
ACCollapse = 613
ACCollapseAll = 614
ACPrintPreview = 615
ACPasteSpecial = 616
ACInsertMode = 617
ACDelete = 618
ACLock = 619
ACUnlock = 620
ACProtect = 621
ACUnprotect = 622
ACAttachComment = 623
ACDeleteComment = 624
ACViewComment = 625
ACSelectWord = 626
ACSelectSentence = 627
ACSelectParagraph = 628
ACSelectColumn = 629
ACSelectRow = 630
ACSelectTable = 631
ACSelectObject = 632
ACRedoRepeat = 633
ACSort = 634
ACSortAscending = 635
ACSortDescending = 636
ACFilter = 637
ACSetClock = 638
ACViewClock = 639
ACSelectTimeZone = 640
ACEditTimeZones = 641
ACSetAlarm = 642
ACClearAlarm = 643
ACSnoozeAlarm = 644
ACResetAlarm = 645
ACSynchronize = 646
ACSendReceive = 647
ACSendTo = 648
ACReply = 649
ACReplyAll = 650
ACForwardMsg = 651
ACSend = 652
ACAttachFile = 653
ACUpload = 654
ACDownloadSaveTargetAs = 655
ACSetBorders = 656
ACInsertRow = 657
ACInsertColumn = 658
ACInsertFile = 659
ACInsertPicture = 660
ACInsertObject = 661
ACInsertSymbol = 662
ACSaveAndClose = 663
ACRename = 664
ACMerge = 665
ACSplit = 666
ACDistributeHorizontally = 667
ACDistributeVertically = 668
Trait Implementations§
source§impl FromPrimitive for Consumer
impl FromPrimitive for Consumer
source§impl Ord for Consumer
impl Ord for Consumer
source§impl PartialEq for Consumer
impl PartialEq for Consumer
source§impl PartialOrd for Consumer
impl PartialOrd for Consumer
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PrimitiveEnum for Consumer
impl PrimitiveEnum for Consumer
source§fn from_primitive(val: u16) -> Option<Self>
fn from_primitive(val: u16) -> Option<Self>
Convert from a primitive, might fail.
source§fn to_primitive(&self) -> u16
fn to_primitive(&self) -> u16
Convert to a primitive value.
source§fn from_str(s: &str) -> Option<Self>
fn from_str(s: &str) -> Option<Self>
Convert from a string value representing the variant. Case sensitive.
source§fn from_str_lower(s: &str) -> Option<Self>
fn from_str_lower(s: &str) -> Option<Self>
Convert from a string value representing the variant. Lowercase.
source§impl PrimitiveEnumStaticStr for Consumer
impl PrimitiveEnumStaticStr for Consumer
source§fn to_display_str(&self) -> &'static str
fn to_display_str(&self) -> &'static str
Display value, same as the name of a particular variant.
source§fn all_variants() -> &'static [Self]
fn all_variants() -> &'static [Self]
A list all possible string variants.
impl Copy for Consumer
impl Eq for Consumer
impl StructuralPartialEq for Consumer
Auto Trait Implementations§
impl Freeze for Consumer
impl RefUnwindSafe for Consumer
impl Send for Consumer
impl Sync for Consumer
impl Unpin for Consumer
impl UnwindSafe for Consumer
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
source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
source§impl<T> FmtForward for T
impl<T> FmtForward for T
source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read moresource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read moresource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> R
source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.source§impl<T> Tap for T
impl<T> Tap for T
source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read moresource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read moresource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read moresource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read moresource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read moresource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read moresource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.