#[non_exhaustive]pub struct AudioConfiguration {
pub id: u64,
pub name: String,
pub inputs: Vec<AudioBusInfo>,
pub outputs: Vec<AudioBusInfo>,
}Expand description
A named native bus configuration, such as a CLAP audio-port configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: u64Native configuration ID; not a position in the returned list.
name: StringNative display name.
inputs: Vec<AudioBusInfo>Input buses belonging to this configuration.
outputs: Vec<AudioBusInfo>Output buses belonging to this configuration.
Trait Implementations§
Source§impl Clone for AudioConfiguration
impl Clone for AudioConfiguration
Source§impl Debug for AudioConfiguration
impl Debug for AudioConfiguration
impl Eq for AudioConfiguration
Source§impl PartialEq for AudioConfiguration
impl PartialEq for AudioConfiguration
impl StructuralPartialEq for AudioConfiguration
Auto Trait Implementations§
impl Forget for AudioConfiguration
impl Freeze for AudioConfiguration
impl Move for AudioConfiguration
impl RefUnwindSafe for AudioConfiguration
impl Send for AudioConfiguration
impl Sync for AudioConfiguration
impl Unpin for AudioConfiguration
impl UnsafeUnpin for AudioConfiguration
impl UnwindSafe for AudioConfiguration
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