pub struct InputTerminal {
pub terminal_id: u8,
pub terminal_type: u16,
pub assoc_terminal: u8,
pub nr_channels: u8,
pub channel_config: u16,
}Expand description
Input terminal descriptor
Fields§
§terminal_id: u8Terminal ID (unique within the audio function)
terminal_type: u16Terminal type code (e.g., UAC_TERMINAL_MICROPHONE)
assoc_terminal: u8Associated output terminal ID (0 if none)
nr_channels: u8Number of logical output channels
channel_config: u16Spatial location of channels (bitmask)
Trait Implementations§
Source§impl Clone for InputTerminal
impl Clone for InputTerminal
Source§fn clone(&self) -> InputTerminal
fn clone(&self) -> InputTerminal
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InputTerminal
impl RefUnwindSafe for InputTerminal
impl Send for InputTerminal
impl Sync for InputTerminal
impl Unpin for InputTerminal
impl UnwindSafe for InputTerminal
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)