#[non_exhaustive]#[repr(u16)]pub enum TerminalType {
Show 26 variants
UsbUndefined = 256,
UsbStreaming = 257,
UsbVendor = 511,
InUndefined = 512,
InMicrophone = 513,
InDesktopMicrophone = 514,
InPersonalMicrophone = 515,
InOmniDirectionalMicrophone = 516,
InMicrophoneArray = 517,
InProcessingMicrophoneArray = 518,
OutUndefined = 768,
OutSpeaker = 769,
OutHeadphones = 770,
OutHeadMountedDisplayAudio = 771,
OutDesktopSpeaker = 772,
OutRoomSpeaker = 773,
OutCommunicationSpeaker = 774,
OutLowFrequencyEffectsSpeaker = 775,
ExtUndefined = 1_536,
ExtAnalogConnector = 1_537,
ExtDigitalAudioInterface = 1_538,
ExtLineConnector = 1_539,
ExtLegacyAudioConnector = 1_540,
ExtSpdifConnector = 1_541,
Ext1394DaStream = 1_542,
Ext1394DvStreamSoundtrack = 1_543,
}Expand description
USB Audio Terminal Types from “Universal Serial Bus Device Class Definition for Terminal Types, Release 1.0”
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UsbUndefined = 256
UsbStreaming = 257
UsbVendor = 511
InUndefined = 512
InMicrophone = 513
InDesktopMicrophone = 514
InPersonalMicrophone = 515
InOmniDirectionalMicrophone = 516
InMicrophoneArray = 517
InProcessingMicrophoneArray = 518
OutUndefined = 768
OutSpeaker = 769
OutHeadphones = 770
OutHeadMountedDisplayAudio = 771
OutDesktopSpeaker = 772
OutRoomSpeaker = 773
OutCommunicationSpeaker = 774
OutLowFrequencyEffectsSpeaker = 775
ExtUndefined = 1_536
ExtAnalogConnector = 1_537
ExtDigitalAudioInterface = 1_538
ExtLineConnector = 1_539
ExtLegacyAudioConnector = 1_540
ExtSpdifConnector = 1_541
Ext1394DaStream = 1_542
Ext1394DvStreamSoundtrack = 1_543
Trait Implementations§
Source§impl Clone for TerminalType
impl Clone for TerminalType
Source§fn clone(&self) -> TerminalType
fn clone(&self) -> TerminalType
Returns a duplicate 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 TerminalType
impl Debug for TerminalType
Source§impl From<TerminalType> for u16
impl From<TerminalType> for u16
Source§fn from(t: TerminalType) -> u16
fn from(t: TerminalType) -> u16
Converts to this type from the input type.
Source§impl PartialEq for TerminalType
impl PartialEq for TerminalType
impl Copy for TerminalType
impl Eq for TerminalType
impl StructuralPartialEq for TerminalType
Auto Trait Implementations§
impl Freeze for TerminalType
impl RefUnwindSafe for TerminalType
impl Send for TerminalType
impl Sync for TerminalType
impl Unpin for TerminalType
impl UnwindSafe for TerminalType
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